在升级node到V10.14.2时,运行gulp会出现error:

gulp[27960]: ../src/node_contextify.cc:633:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.

    图片如下:

node 升级到v10.14.2版本,gulp运行出现gulp[27960]: ../src/node_contextify.cc的error

可以用下面两种方案解决:

1)安装 natives:     npm i natives

2)删除 node_modules 后重新安装依赖: rm -r node_modules, npm install

        

相关文章:

  • 2021-07-06
  • 2022-12-23
  • 2021-12-02
  • 2021-11-29
  • 2021-11-05
  • 2021-11-08
  • 2021-06-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2021-04-24
  • 2022-12-23
相关资源
相似解决方案