admin管理员组文章数量:1612098
出现问题原因:
nodejs和node-sass版本不匹配
解决办法:
下载node-sass指定版本的nodejs
1)node-sass的节点版本支持政策
① 支持的 Node.js版本因版本而异
② 达到生命周期结束的节点版本将在每个 node-sass 版本(主要、次要)中从支持中删除,具体地址:https://github/nodejs/Release
③ 根据上标下载对应版本的nodejs下载地址:https://nodejs/en/download/releases/
2)安装
npm中安装
npm install node-sass
在 Windows 系统上安装需要先安装node-gyp
npm install -g node-gyp
在国内镜像安装
npm install -g mirror-config-china --registry=http://registry.npm.taobao npm install node-sass
node-sass在npm上的地址为:https://www.npmjs/package/node-sass
以上就是Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 1x.x的介绍,做此记录,如有帮助,欢迎点赞关注收藏!
本文标签: bindingCurrentFindnodesass
版权声明:本文标题:Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 1x.x 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1728628036a1166744.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论