SASS尚未支持您当前的环境:Windows 64位具有不支持的运行时(93)
VSC终端向我展示了
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
我在堆栈溢出中尝试了一些解决方案:
npm rebuild node-sass
但
npm uninstall node-sass && npm install node-sass
与之合作,我看到有些人谈论节点版本是否支持SASS,无论是否支持SASS, 我正在使用v16.14.0
它的LTS版本应该支持我猜, 我希望有人可以帮忙,谢谢
this what VSC terminal show me
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
i tried some solutions in stack overflow:
npm rebuild node-sass
and
npm uninstall node-sass && npm install node-sass
but does't work with , i saw some people talk about node version if support sass or not,
im using v16.14.0
it's LTS version should that support i guess,
i hope someone can help and THANK YOU
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这几乎就像试图安装仅支持节点14的4.x分支一样。
尝试安装7.0.1(当前最新)。
我建议您继续进行
node_modules
才能安全。如果那不起作用,您可以在评论中发布整个输出吗?
It's almost like it's trying to install the 4.x branch which only supports up to Node 14.
Try installing the 7.0.1 (current latest).
I'd recommend going ahead and wiping
node_modules
prior to installing just to be safe.If that doesn't work, can you please post the entire output in the comment?
我通过强迫Visual Studio使用我安装的节点版本而不是安装Node的VS Node:
转到Visual Studio,Tools -≫选项,项目和解决方案 - > Web软件包管理 - >外部Web工具,然后将
$(PATH)
移动到。\ node_modules \ .bin
和上面的第二个位置和上面的$(VSINSTALSTALLEDEXTERNTERNTERTTOLLS)
。重新启动视觉工作室。找到此解决方案在这里。
I fixed this issue by forcing Visual Studio to use the node version I installed instead of VS installed version of node:
Go to Visual Studio, Tools -> Options, Project and Solutions -> Web Package Management -> External Web Tools, and move the
$(PATH)
to the second place below.\node_modules\.bin
and above$(VSInstalledExternalTools)
. Restart Visual Studio.Found this solution here.
修复由于节点 - 萨斯而引起的错误:
某些软件包的版本在package.json中强制执行。解决方案是通过让NPM为您的操作系统建立正确的版本来重新添加它们。
Fix the errors due to node-sass:
The versions of some packages is enforced in package.json. The solution is to re-add them by letting npm to establish their right version for your OS.
我已更新了我的nodejs版本18.18,然后发生了此错误。我将WebPack与5版本的版本和7版一起使用。但是我没有SASS模块。
对我来说,解决方案是安装SASS。
npm i sass-save-dev
I was updated my nodejs version 18.18 then this error occured to me. I'm using webpack with the version of 5 and node-sass with the version of 7. But I had no sass module.
The solution for me was installing the sass.
npm i sass --save-dev