Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a limit to the node version? #17

Open
lilianjin opened this issue Apr 15, 2019 · 3 comments
Open

Is there a limit to the node version? #17

lilianjin opened this issue Apr 15, 2019 · 3 comments

Comments

@lilianjin
Copy link

ERROR in /cs/sudaidai/git-respositories/nova/resources/js/views/Detail.vue
Module not found: Error: Can't resolve 'babel-loader' in '/cs/sudaidai/git-respositories/nova/resources/js/views'
@ /cs/sudaidai/git-respositories/nova/resources/js/views/Detail.vue 4:21-394
@ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["env",{"modules":false,"targets":{"browsers":["> 2%"],"uglify":true}}]],"plugins":["transform-object-rest-spread",["transform-runtime",{"polyfill":false,"helpers":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/js/views/Detail.vue
@ ./resources/js/views/Detail.vue
@ ./resources/js/views ^./.*$
@ ./resources/js/views.js
@ multi ./resources/js/views.js ./resources/sass/views.scss

@kistasi
Copy link

kistasi commented May 1, 2019

I have the same problem.

@freshway
Copy link

Try it:
npm install -D babel-loader @babel/core @babel/preset-env

@xUJYx
Copy link
Contributor

xUJYx commented Jul 20, 2021

Before developing custom view - you need to dev compile nova assets itself.
Go to your_laravel_app/nova and run there
npm install && npm run dev
After that go to your_laravel_app/nova-components/views/your_custom_created_view/ and run there
npm install && npm run watch
Now all your code changes in your "your_custom_created_view" will take effect...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants