首页 > 其他 > 详细

node开发遇到类似:Error: ENOENT: no such file or directory, scandir 'D:\work\taro-components- ....... _node-sass@4.12.0@node-sass\vendor

时间:2019-10-06 15:24:47      阅读:178      评论:0      收藏:0      [点我收藏+]

唯一的有参考价值的文章,https://www.cnblogs.com/milo-wjh/p/9175138.html

 

我可以负责任的说,以下的方法,

npm rebuild node-sass

80%的人试了无效,包括我,因为问题的根本不在node-sass,而在于你的node版本上,一般出问题的都是10.x等,我建议你降为node 8.x,下载地址如下:

https://nodejs.org/dist/latest-v8.x/

然后把你的依赖干掉,重新执行cnpm install

node开发遇到类似:Error: ENOENT: no such file or directory, scandir 'D:\work\taro-components- ....... _node-sass@4.12.0@node-sass\vendor

原文:https://www.cnblogs.com/ww01/p/11627327.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!