求助:钱包项目neuron编译出错

从仓库

clone代码后

按照README.md安装node,yarn及node-gyp
node -v v12.1.0
yarn -v 1.16.0
[email protected]

然后运行 yarn install ,出错

8 warnings and 7 errors generated.
make: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/duan/code/github/nervosnetwork/neuron/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:196:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:256:12)
gyp ERR! System Darwin 18.6.0

gyp ERR! command "/usr/local/Cellar/node/12.1.0/bin/node" "/Users/duan/code/github/nervosnetwork/neuron/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/duan/code/github/nervosnetwork/neuron/node_modules/scrypt
gyp ERR! node -v v12.1.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error

请用 node 11 编译

谢谢,已编译通过。

没注意看文档,写:You will need node = ^11 and yarn >= 1.12 to build and run this Neuron.

我们下周会更新一部分代码,支持 Node 12。