npm WARN sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none is installed. You must install pe

在执行npm安装时遇到警告,提示sass-loader@8.0.2需要sass@^1.3.0和fibers@>3.1.0作为peerdependencies但未安装。为解决此问题,用户需手动安装这两个缺失的依赖包。

npm WARN sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself

npm WARN sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@8.0.2 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself.

 提示了错误,把提示需要安装的包安装好就行了 

安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows PS E:\test\springboot048\springboot2mc6m> node -v v11.15.0 PS E:\test\springboot048\springboot2mc6m> cd src/main/resources/admin/admin PS E:\test\springboot048\springboot2mc6m\src\main\resources\admin\admin> npm i npm WARN @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.27.1 requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself. npm WARN @babel/plugin-transform-class-static-block@7.28.3 requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself. npm WARN sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself. npm WARN sass-loader@8.0.2 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.3 (node_modules\watchpack\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) added 1 package from 1 contributor and audited 1728 packages in 10.664s found 183 vulnerabilities (15 low, 60 moderate, 95 high, 13 critical) run `npm audit fix` to fix them, or `npm audit` for details PS E:\test\springboot048\springboot2mc6m\src\main\resources\admin\admin> npm run serve > mas-creator-admin@0.1.0 serve E:\test\springboot048\springboot2mc6m\src\main\resources\admin\admin > vue-cli-service serve INFO Starting development server... (node:20608) ExperimentalWarning: queueMicrotask() is experimental. 98% after emitting CopyPlugin ERROR Failed to compile with 1 error 02:01:04 error in ./src/assets/css/style.scss Syntax Error: Error: Missing binding E:\test\springboot048\springboot2mc6m\src\main\resources\admin\admin\node_modules\node-sass\vendor\win32-x64-67\binding.node Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 11.x Found bindings for the following environments: - Windows 64-bit with Node.js 12.x This usually happens because your environment has changed since running `npm install`. Run `npm rebuild node-sass` to download the binding for your current environment. @ ./src/assets/css/style.scss 4:14-234 14:3-18:5 15:22-242 @ ./src/main.js @ multi (webpack)-dev-server/client?http://10.30.133.54:8081/sockjs-node (webpack)/hot/dev-server.js ./src/main.js 解决错误
最新发布
12-23
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值