Javascript

【nodeJs】This usually happens because your environment has changed since running `npm install` vscode

本文主要是介绍【nodeJs】This usually happens because your environment has changed since running `npm install` vscode,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

问题根本:这通常是因为运行NPM安装后环境发生了变化。
运行“NPM重建节点SASS——强制”来为当前环境构建绑定。

如何解决:此时运行按照提示执行  npm rebuild node-sass  命令

(如若不行,则先运行npm install node-sass命令执行)

然后再运行 node命令,启动服务

这篇关于【nodeJs】This usually happens because your environment has changed since running `npm install` vscode的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!