无法从“v8::Local<v8::Value>"转换参数 1'const v8::String::Utf8Value [英] cannot conver t argument 1 from &#39;v8::Local&lt;v8::Value&gt;&#39; to &#39;const v8::String::Utf8Value

查看:165
本文介绍了无法从“v8::Local<v8::Value>"转换参数 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.

这篇关于无法从“v8::Local<v8::Value>"转换参数 1'const v8::String::Utf8Value的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆