为什么我能';t运行命令";安装NPM“;
我有一个在GitHub上使用Vue.js的项目,它是我的同事创建的,我想在本地看到它。在我在VScode中克隆后,我想使用为什么我能';t运行命令";安装NPM“;,npm,Npm,我有一个在GitHub上使用Vue.js的项目,它是我的同事创建的,我想在本地看到它。在我在VScode中克隆后,我想使用NPM install首先安装NPM,但我失败了,我不明白是什么问题。错误消息是: ../ext/call.cc:104:53: error: no matching member function for call to 'Get' Local<String> current_key(Nan::To<String>(keys->
NPM install
首先安装NPM,但我失败了,我不明白是什么问题。错误消息是:
../ext/call.cc:104:53: error: no matching member function for call to 'Get'
Local<String> current_key(Nan::To<String>(keys->Get(i)).ToLocalChecked());
~~~~~~^~~
/Users/alexchen/Library/Caches/node-gyp/13.10.1/include/node/v8.h:3594:43: note: candidate
function not viable: requires 2 arguments, but 1 was provided
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^
/Users/alexchen/Library/Caches/node-gyp/13.10.1/include/node/v8.h:3597:43: note: candidate
function not viable: requires 2 arguments, but 1 was provided
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^
../ext/call.cc:681:27: error: no matching member function for call to 'Get'
if (!op->ParseOp(obj->Get(type), &ops[i])) {
~~~~~^~~
/Users/alexchen/Library/Caches/node-gyp/13.10.1/include/node/v8.h:3594:43: note: candidate
function not viable: requires 2 arguments, but 1 was provided
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^
/Users/alexchen/Library/Caches/node-gyp/13.10.1/include/node/v8.h:3597:43: note: candidate
function not viable: requires 2 arguments, but 1 was provided
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
这是一个兼容性问题吗?您是否在github上有指向该项目的链接?很可能您正在尝试安装一个需要旧版本的npm软件包询问您的朋友他们的节点和npm版本是什么我如何返回到旧版本?
node -v
v13.10.1
npm -v
6.13.7