Error on npm run dev with Laravel Project
See original GitHub issueHi,
I get following error when i am try to run npm run dev command on windows power-shell
@ development C:\Users\Praneeth Gamage\Desktop\Laravel_Projects\posty mix
[webpack-cli] Running multiple commands at the same time is not possible
[webpack-cli] Found commands: ‘bundle’, ‘Gamage\Desktop\Laravel_Projects\posty\node_modules\laravel-mix\setup\webpack.config.js’
[webpack-cli] Run ‘webpack --help’ to see available commands and options
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ development: mix
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Praneeth Gamage\AppData\Roaming\npm-cache_logs\2021-01-10T12_30_36_179Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ dev: npm run development
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Praneeth Gamage\AppData\Roaming\npm-cache_logs\2021-01-10T12_30_36_230Z-debug.log
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:33
Top GitHub Comments
I already solved it, in my case, it was the blank spaces in the path to the project
@fikrisuheri verify that this path is complete, if it is cut it is because of the blank spaces, the solution is to move the project from place to a path that does not have spaces.