Run `npm rebuild node-sass` to download the binding for your current environment

转:https://blog.csdn.net/u010214074/article/details/90140233

这可能是因为node升级导致的;

解决方法:

1.在根目录创建.npmrc文件

sass_binary_site=https://npm.taobao.org/mirrors/node-sass/

registry=https://registry.npm.taobao.org


2.执行命令

npm rebuild node-sass
发布了178 篇原创文章 · 获赞 83 · 访问量 85万+

猜你喜欢

转载自blog.csdn.net/fuck487/article/details/103942274