在使用npm安装node-sass的时候,可能会出现如下的报错: Syntax Error: Error: ENOENT: no such file or directory, scandir 'D:\work\' 解决方案是执行以下方法: npm rebuild node-sass