使用n切换节点版本。我已经运行过yarn,npm rebuild node-sass --force很多次了。但还是失败了。获取此错误:
Node Sass could not find a binding for your current environment
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass --force` to build the binding for your current environment.有谁知道怎么修复吗?
还有..。运行此命令时..
npm rebuild node-sass --force我明白了..。
npm WARN using --force I sure hope you know what you are doing.看起来它什么也做不了..
发布于 2020-07-22 23:05:55
我做了下面的工作来解决这个问题。
npm uninstall node-sass
npm i node-sass
npm rebuild node-sass发布于 2019-07-18 01:00:12
从命令中删除node-sass,只运行npm rebuild --force
发布于 2019-10-27 23:19:27
如果npm rebuild node-sass和npm rebuild node-sass --force不起作用。只需卸载node-sass并重新安装即可。
https://stackoverflow.com/questions/53125291
复制相似问题