当前位置: 代码迷 >> 综合 >> Error: ENOENT: no such file or directory, scandir ‘E:\MyWorkSpaces’
  详细解决方案

Error: ENOENT: no such file or directory, scandir ‘E:\MyWorkSpaces’

热度:21   发布时间:2024-02-07 07:12:34.0

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

Error: ENOENT: no such file or directory, scandir 'E:\MyWorkSpaces\GitResource\node_modules\.npminstall\node-sass\3.7.0\node-sass\vendor'

    at Error (native)

解决方案是执行以下方法:

npm rebuild node-sass

  相关解决方案