binding.node版本不对导致node-sass安装出错
node-sass
:rainbow: Node.js bindings to libsass
项目地址:https://gitcode.com/gh_mirrors/no/node-sass
免费下载资源
·
node-sass安装出错,可以先查看本机binding.node文件环境是否不对
node -p “[process.platform, process.arch, process.versions.modules].join(’-’)”
查看本机需要的binding.node文件命令
然后会出来如win32-x64-83 ,下载binding.node结尾的文件,然后放在一个比较稳定不会删除的文件夹中
,然后配置电脑环境变量中的系统变量 ,我在D盘新建了一个文件夹 bindingNode,配置值如下
变量名:SASS_BINARY_PATH
变量值:D:\bindingNode\win32-x64-83_binding.node
GitHub 加速计划 / no / node-sass
8.5 K
1.33 K
下载
:rainbow: Node.js bindings to libsass
最近提交(Master分支:2 个月前 )
6081731a
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com> 9 个月前
62c0f46c
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com> 9 个月前
更多推荐
已为社区贡献1条内容
所有评论(0)