laravel 5.4 dependency not found
See original GitHub issue`> npm run development
@ development /Users/mohamed/Projets/concoursWebsite cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
95% emitting
ERROR Failed to compile with 1 errors 19:50:22
This dependency was not found:
- /Users/mohamed/Projets/concoursWebsite/resources/assets/js/app.js in multi ./resources/assets/js/app.js
To install it, you can run: npm install --save /Users/mohamed/Projets/concoursWebsite/resources/assets/js/app.js
Asset Size Chunks Chunk Names
/js/app.js 2.64 kB 0 [emitted] /js/app
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! Exit status 2
`
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (1 by maintainers)
Top GitHub Comments
Yep, this is an npm 5.2 issue. Downgrade until they patch it up.
So I decided to see what the difference was between the projects,
I literally replaced the following from the new project to the old. node_modules package.json webpack.mix.js