node-sass安装报错解决方案
node-sass
:rainbow: Node.js bindings to libsass
项目地址:https://gitcode.com/gh_mirrors/no/node-sass
免费下载资源
·
首先,如果是在搭项目,那千万不要用node-sass,直接安装scss就可以了:
npm i scss --save-dev
但如果是想运行别人的老项目,那就先打开package.json,找到项目依赖的node-sass的版本,然后看下面的node与node-sass版本对照表:
NodeJS | Minimum node-sass version | Node Module |
---|---|---|
Node 14 | 4.14+ | 83 |
Node 13 | 4.13+ | 79 |
Node 12 | 4.12+ | 72 |
Node 11 | 4.10+ | 67 |
Node 10 | 4.9+ | 64 |
Node 8 | 4.5.3+ | 57 |
node-sass
:rainbow: Node.js bindings to libsass
项目地址:https://gitcode.com/gh_mirrors/no/node-sass
然后对应修改自己的node或项目依赖的node-sass版本就行。
幸遇大佬指点,不然我就被坑死了。。。。。。
如果有兴趣了解更多相关内容,欢迎来我的个人网站看看:瞳孔的个人空间
推荐内容
GitHub 加速计划 / no / node-sass
3
0
下载
:rainbow: Node.js bindings to libsass
最近提交(Master分支:4 个月前 )
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> 10 个月前
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> 10 个月前
更多推荐
已为社区贡献5条内容
相关推荐
查看更多
node-sass
3
:rainbow: Node.js bindings to libsass
node-sass-middleware
0
connect middleware extracted from node-sass
node-sass-chokidar
0
A thin wrapper around node-sass to replicate the --watch using chokidar instead of Gaze
所有评论(0)