coreui / coreui-free-laravel-admin-template

CoreUI Free Laravel Bootstrap Admin Template
https://coreui.io/laravel/
MIT License
635 stars 358 forks source link

Error npm install in coreUI laravel #56

Open RizONE05 opened 3 years ago

RizONE05 commented 3 years ago

npm install drops with error Log file last lines: 24076 silly extract core-js@2.6.11 extracted to C:\laragon\www\coreui\node_modules.staging\core-js-eabcedc4 (70705ms) 24077 silly extract @coreui/coreui@3.3.0 extracted to C:\laragon\www\coreui\node_modules.staging\@coreui\coreui-8af33aaf (47896ms) 24078 silly extract rxjs@5.5.12 extracted to C:\laragon\www\coreui\node_modules.staging\rxjs-4e93b4be (272403ms) 24079 timing npm Completed in 426358ms 24080 error cb() never called!

npm --v 6.14.8 Laravel Framework 8.6.0 Windows 10

RizONE05 commented 3 years ago

after npm run dev

@coreui/coreui-free-laravel-admin-template@2.0.1 dev c:\laragon\www\coreui npm run development

@coreui/coreui-free-laravel-admin-template@2.0.1 development c:\laragon\www\coreui cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

"cross-env" не является внутренней или внешней командой, исполняемой программой или пакетным файлом. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @coreui/coreui-free-laravel-admin-template@2.0.1 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 1

jordi00113 commented 3 years ago

Same error over here when running npm run dev. Remove following parameters in script -> development --progress --hide-modules