我是LARAVEL的新朋友。我在NPM上遇到安装问题,我暂时无法解决。
这是我的错误
> > node-sass@4.10.0 install C:\xampp\htdocs\lsapp\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.10.0/win32-x64-67_binding.node
Download complete ] - :
Binary saved to C:\xampp\htdocs\lsapp\node_modules\node-sass\vendor\win32-x64-67\binding.node
Caching binary to C:\Users\Di7aa\AppData\Roaming\npm-cache\node-sass\4.10.0\win32-x64-67_binding.node
> uglifyjs-webpack-plugin@0.4.6 postinstall C:\xampp\htdocs\lsapp\node_modules\laravel-mix\node_modules\webpack\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js
> node-sass@4.10.0 postinstall C:\xampp\htdocs\lsapp\node_modules\node-sass
> node scripts/build.js
Binary found at C:\xampp\htdocs\lsapp\node_modules\node-sass\vendor\win32-x64-67\binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1269 packages from 706 contributors and audited 17986 packages in 186.49s
found 1 high severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
任何人都可以帮忙吗?
答案 0 :(得分:1)
只需运行npm audit fix
,一切都很好,没有错误。