coreui / coreui-free-laravel-admin-template

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

Error npm install in coreUI laravel #54

Closed Diki-afk closed 2 years ago

Diki-afk commented 3 years ago

I have error

> npm ERR! code 1
> npm ERR! path /var/www/coreuicuba
> npm ERR! command failed
> npm ERR! command sh -c 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! A complete log of this run can be found in:
> npm ERR!     /home/laradock/.npm/_logs/2020-12-22T10_50_41_923Z-debug.log
> npm ERR! code 1
> npm ERR! path /var/www/coreui
> npm ERR! command failed
> npm ERR! command sh -c npm run development
> 
> npm ERR! A complete log of this run can be found in:
> npm ERR!     /home/laradock/.npm/_logs/2020-12-22T10_50_41_970Z-debug.log

I have done run npm audit fix command and I have an error

> braces  <2.3.1
> Regular Expression Denial of Service - https://npmjs.com/advisories/786
> fix available via `npm audit fix`
> node_modules/sync-glob/node_modules/braces
>   micromatch  0.2.0 - 2.3.11
>   Depends on vulnerable versions of braces
>   node_modules/sync-glob/node_modules/micromatch
>     anymatch  1.2.0 - 1.3.2
>     Depends on vulnerable versions of micromatch
>     node_modules/sync-glob/node_modules/anymatch
>       chokidar  1.3.0 - 1.7.0
>       Depends on vulnerable versions of anymatch
>       node_modules/sync-glob/node_modules/chokidar
> 
> yargs-parser  <=13.1.1 || 14.0.0 - 15.0.0 || 16.0.0 - 18.1.1
> Prototype Pollution - https://npmjs.com/advisories/1500
> No fix available
> node_modules/sync-glob/node_modules/yargs-parser
>   yargs  4.0.0-alpha1 - 12.0.5 || 14.1.0 || 15.0.0 - 15.2.0
>   Depends on vulnerable versions of yargs-parser
>   node_modules/sync-glob/node_modules/yargs
>     sync-glob  *
>     Depends on vulnerable versions of yargs
>     node_modules/sync-glob
> 
> 7 low severity vulnerabilities
> 

I have done follow in https://github.com/JeffreyWay/laravel-mix/issues/2389#issuecomment-646919340 . but still failed. I don't know how to fix it. there may be a suggestion to improve it.

UnderDogg commented 3 years ago