请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

安装sass-loader和node-sass时候报错

安装sass-loader和node-sass时候报错,请问老师是什么情况,该怎么解决

npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\console-control-strings
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\are-we-there-yet
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\loud-rejection
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\nopt
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\indent-string
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\tar
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\trim-newlines
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\async-foreach
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\clone-deep
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\gaze
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\sass-graph
npm WARN checkPermissions Missing write access to C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\true-case-path
npm WARN sass-loader@8.0.0 requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@8.0.0 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself.

npm ERR! path C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\console-control-strings
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'C:\Users\ZhuYanheng\Desktop\jdstore\jd-hybrid-web\node_modules\console-control-strings'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ZhuYanheng\AppData\Roaming\npm-cache\_logs\2019-09-02T11_54_25_690Z-debug.log

正在回答 回答被采纳积分+3

1回答

Sunday 2019-09-03 08:45:21


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

看这里的错误描述,应该是需要先安装   sass 和 fibers 。 然后在安装 sass-loader 。 


0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信