node 和node-sass版本对应表格
node-sass
:rainbow: Node.js bindings to libsass
项目地址:https://gitcode.com/gh_mirrors/no/node-sass
·
以下是常见 Node.js 版本和 node-sass 版本的对应关系:
| Node.js 版本 | node-sass 版本 |
|---|---|
| 16.x | 6.x |
| 14.x | 5.x |
| 12.x | 4.x |
| 10.x | 4.x |
请注意,node-sass 的版本命名规则为 vX.Y.Z,其中 X 表示适用的 Node.js 主版本,Y 表示 node-sass 的主版本,Z 表示修订版本。因此,如果你的 Node.js 版本为 14.x,则应该安装 node-sass 的 5.x 版本。你可以使用以下命令安装对应版本的 node-sass:
npm install node-sass@5.x
如果你使用的是 nvm 管理 Node.js 版本,可以在安装完特定版本的 Node.js 后切换到该版本,然后安装对应版本的 node-sass。例如,如果你要安装 Node.js 14.x 和对应的 node-sass 5.x,可以执行以下命令:
nvm install 14
nvm use 14
npm install node-sass@5.x
这样就可以在 Node.js 14.x 的环境下使用 node-sass 5.x 了。
:rainbow: Node.js bindings to libsass
最近提交(Master分支:1 个月前 )
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> 1 年前
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> 1 年前
新一代开源开发者平台 GitCode,通过集成代码托管服务、代码仓库以及可信赖的开源组件库,让开发者可以在云端进行代码托管和开发。旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。
更多推荐


所有评论(0)