Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support node v12 #461

Closed
kernelwhisperer opened this issue May 14, 2019 · 4 comments
Closed

Support node v12 #461

kernelwhisperer opened this issue May 14, 2019 · 4 comments
Labels
💰 funded An issue that has a bounty on the Projects app 🛠️ toolkit Toolkit for accessing Aragon utilities programmatically.

Comments

@kernelwhisperer
Copy link
Contributor

kernelwhisperer commented May 14, 2019

This issue was funded with 60 DAI, see more issues on our dao projects app.

See the travis builds:

https://travis-ci.org/aragon/aragon-cli/builds/532301139?utm_source=github_status&utm_medium=notification

Specifically this error:

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/travis/.nvm/versions/node/v12.2.0/lib/node_modules/npm/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:257:12)
gyp ERR! System Linux 4.4.0-101-generic
gyp ERR! command "/home/travis/.nvm/versions/node/v12.2.0/bin/node" "/home/travis/.nvm/versions/node/v12.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/travis/build/aragon/aragon-cli/packages/aragon-cli/node_modules/ganache-core/node_modules/scrypt
gyp ERR! node -v v12.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 

We could try after updating ganache-core.
Related: trufflesuite/ganache#425

@kernelwhisperer kernelwhisperer added the 🛠️ toolkit Toolkit for accessing Aragon utilities programmatically. label May 14, 2019
@0xGabi 0xGabi mentioned this issue May 15, 2019
6 tasks
@0xGabi 0xGabi added the 💰 funded An issue that has a bounty on the Projects app label Jun 11, 2019
@sohkai
Copy link
Contributor

sohkai commented Oct 15, 2019

@0xGabi We've been able to upgrade ganache-core; could we retest this to see if node 12 now works (and run CI on node 12 as well)?

@0xGabi
Copy link
Contributor

0xGabi commented Oct 15, 2019

I just tested it and the install worked 🥳 anyways I got some build errors with node-gyp.

I'll test it a bit more and also try to install in a linux vm before close this one.

Install is going to be much better once we separate ganache-core to his own package

@sohkai
Copy link
Contributor

sohkai commented Oct 15, 2019

Looks like those build errors are for the native modules, and keccak and secp256k1 specifically.

They have fallback JS implementations so it's not going to break, but the situation is not ideal. Let's add node12 to the CI but keep advertising that users use node 10.

@0xGabi
Copy link
Contributor

0xGabi commented Oct 16, 2019

Check with a Linux vm and it worked as well, I'll close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💰 funded An issue that has a bounty on the Projects app 🛠️ toolkit Toolkit for accessing Aragon utilities programmatically.
Projects
None yet
Development

No branches or pull requests

3 participants