java / 正文

Module build failed: Error: ENOENT: no such file or directory, scandir 'D:\.xxx

2024-01-13 23:29 1270 浏览
评论(0
字体大小:

Module build failed: Error: ENOENT: no such file or directory, scandir 'D:\Commu nity\D4Mobile\node_modules\node-sass\vendor'

这种情况遇到过很多次,每次都是没有头绪。今天发现如下操作可以让程序正常运行。

1.cd 进入node_modules
$ cd node_modules

2.运行npm rebuild node-sass
$ npm rebuild node-sass

最后直接运行代码就OK了

本文发布于程序达人 ,转载请注明出处,谢谢合作

0 人认为有用
0 评论

相关热点文章推荐

程序达人 - chengxudaren.com

一个帮助开发者成长的社区

相关文章