您当前的位置: 首页 >  windows

任磊abc

暂无认证

  • 0浏览

    0关注

    182博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

node-sass安装后,启动本地环境爆出,Error: Node Sass does not yet support your current environment: Windows 64-bit

任磊abc 发布时间:2022-01-20 19:08:32 ,浏览量:0

最近有个很老的项目各种依赖库都很老,在本地环境中出现:

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime

错误:node-Sass尚不支持当前环境:Windows 64位,运行时不受支持

这个项目的node-sass版本是4.14.1

在npm上查看node-sass的版本环境:

我本地的node环境版本是:16.13.2

项目中node-sass版本是4.14.1,对应的node环境是node 14;因此node需要降级。

为保证最新项目的环境,同时也能保证老项目的运行。可以使用nvm,来管理不同的node版本

nvm具体使用参见文章:《nvm安装使用以及出现 — exit status 1等问题》

关注
打赏
1656830895
查看更多评论
立即登录/注册

微信扫码登录

0.5724s