npm install遇到node-sass@4.13.1 postinstall: `node scripts/build.js` 问题
node-sass
:rainbow: Node.js bindings to libsass
项目地址:https://gitcode.com/gh_mirrors/no/node-sass
免费下载资源
·
先吐嘈一下,现在在网上寻找解决问题的方法,基本上都是重复的回答,让人蛋疼,CV的人太多了,搜索下来,一页的回答全是重复的,真是日了狗了,我一开始遇到这个问题,搜索后,看回答的解决方案都没有用,后来自己冥思苦想,思考其原理,发现是因为sass安装时获取源的问题(真正的解决方流程如下,希望能帮助到有需要的人,我也是这么过来的啊,却没有找到~):
1、npm install遇到了 这个报错
node-sass@4.13.1 postinstall: `node scripts/build.js`
2、排查了下发现是因为sass安装时获取源的问题,先修改sass安装的源
3、再运行npm install就成功了
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 个月前
更多推荐
已为社区贡献3条内容
所有评论(0)