laravel-vuetify icon indicating copy to clipboard operation
laravel-vuetify copied to clipboard

'php artisan preset vuetify' cause npm run error .

Open sanhar opened this issue 6 years ago • 1 comments

Hi.

After setting preset npm error comes following..

cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

sh: cross-env: command not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn 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! spawn ENOENT 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 WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! /Users/binggle/.npm/_logs/2018-11-30T01_13_24_282Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @ dev: npm run development npm ERR! Exit status 1 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 WARN Local package.json exists, but node_modules missing, did you mean to install?

Cause this package is so good starting point, I wish it is been fixed so soon..

sanhar avatar Nov 30 '18 01:11 sanhar

Thats an issue with your machine, not laravel-vuetify, run npm install cross-env --g to fix it.

DoDSoftware avatar Oct 09 '19 20:10 DoDSoftware