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

Cannot install on latest version of node #1060

Closed
osarrouy opened this issue Jan 1, 2020 · 4 comments
Closed

Cannot install on latest version of node #1060

osarrouy opened this issue Jan 1, 2020 · 4 comments
Labels

Comments

@osarrouy
Copy link
Contributor

osarrouy commented Jan 1, 2020

Hi guys,

All the apps rely on @aragon/os@4.2.1 which has the following dependency tree.

@aragon/os@4.2.1
  └─┬ truffle-hdwallet-provider@0.0.3
    └─┬ ethereumjs-wallet@0.6.3
      └─┬ scrypt.js@0.3.0
        └── scrypt@6.0.3

It happens that scrypt@6.0.3 cannot be compiled on node@12. This is a known issue that won't be fixed upstream because the scrypt package is not maintained anymore ...

I believe @aragon/os@4.3.0 dumps the truffle-hdwallet-provider@0.0.3 dependency and thus the scrypt@6.0.3 dependency so it could be great to update all apps dependency to this later version.

Happy new year! ;)

@osarrouy osarrouy added the bug label Jan 1, 2020
@welcome
Copy link

welcome bot commented Jan 1, 2020

Thanks for opening your first issue in the Aragon apps repo! Someone will circle back soon ⚡

@sohkai
Copy link
Contributor

sohkai commented Jan 2, 2020

I believe @aragon/os@4.3.0 dumps the truffle-hdwallet-provider@0.0.3 dependency and thus the scrypt@6.0.3 dependency so it could be great to update all apps dependency to this later version.

Not quite yet; we need to release @aragon/os@4.3.1 to make that happen but we should do that soon :).

We may still need that dependency in the truffle config though... but we may have fixed it in @aragon/truffle-config-v4.

In the mean time, can you downgrade to node 11 or 10? 😄

@sohkai
Copy link
Contributor

sohkai commented Mar 18, 2020

Closing; this will be fixed soon. Generally, node12 has been a PITA due to the node-gyp breakages :(.

@sohkai sohkai closed this as completed Mar 18, 2020
@lorrp1
Copy link

lorrp1 commented Apr 13, 2021

@sohkai Hello, im getting:


Error running install script for optional dependency: /aragon-apps/node_modules/scrypt: Command failed.

Exit code: 1
Command: node-gyp rebuild

i get yarn install v1.22.10 after doing yarn in the dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants