解决Error: ENOENT: no such file or directory, scandir 'D:\IdeaWork\code-front-jet\node_modules\.npmins

在使用npm安装node-sass的时候,可能会出现如下的报错:

Error: ENOENT: no such file or directory, scandir 'D:\IdeaWork\code-front-jet\node_modules\.npminstall\node-sass\3.7.0\node-sass\vendor'

    at Error (native)
解决方案是执行以下方法:
npm rebuild node-sass

猜你喜欢

转载自blog.csdn.net/linyeban/article/details/54834890