无法从“v8::Local"转换参数 1'const v8::String::Utf8Value

问题描述:

我正在尝试运行以下两个命令:

I am trying to run two of the below commands :

npm install
npm audit fix

在 VS Code 中,当报告以下错误时.

in VS Code when the below error is reported.

error C2664: 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot conver
t argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value &

非常感谢您对解决此问题的任何帮助!!

Any help to resolve this is much appreciated!!

将 Nodejs 更改为 10.19.0 版,node-sass 不适用于 Nodejs 12.

Change Nodejs to version 10.19.0, node-sass not working with Nodejs 12.