SunHuawei/SourceDetector

ReferenceError: primordials is not defined in node

Becivells opened this issue · 2 comments

执行到gulp报错解决方法如下

Create a npm-shrinkwrap.json file containing this:

{
  "dependencies": {
    "graceful-fs": {
      "version": "4.2.3"
    }
  }
}

Commit this npm-shrinkwrap.json file. And then execute npm install which will update the npm-shrinkwrap.json file.

link:https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node

你用node 11版本试试,这边测试OK ,12不行

@Becivells , 感谢提供方法。已经通过升级gulp解决。请pull最新代码。