-
Notifications
You must be signed in to change notification settings - Fork 83
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
This package appears to require specially node9 on amazon linux? #184
Comments
@joepagan Looks I'm having the same issue. Have you had any luck? This is the last leg of my 2-day-long AWS deployment
|
@imthatcarlos nope, my temp fix was to node9-ify my app. Luckily there wasn't too much to do in my case. For you it looks like you'd be downgrading though! Specifically this was happening on Amazon Linux 1 for me, so it might be worth trying Amazon Linux 2? Or even try centos/alpine if you've got a container setup. (I'm not there yet with mine) I was hoping that this issue might be addressed, though looking at the master branch, last commit was like 2 years ago so going to have to find another solution, or, maybe try get the ethereum devs to stop using this as a dependency. |
Hmm.. Ok. I tried to include the package in my dependencies and realized you also did. |
For reference, here's what I had to do:
Had to do that last step for |
Jesus, don't understand why you're getting behaviour like that, very strange, what a nightmare! Grateful that you have posted the steps, very much appreciated, thank you. I did want to EB mine too so I'll try follow these steps and see if I get any luck on node10 EB. |
Sure thing, let me know how it goes! |
Having an issue with a couple of node packages that require
node-scrypt
on my amazon linux server.This works fine on Macos 10.14.1 locally on other node versions.
It looks like
scrypt
requires at least node version 9 to higher, decided to look atNODE_MODULE_VERSION
, 59 is node 9.I get the following error on
node 8.13.0
and similar on node6,7 & 11:node-gyp
is installed globallyThis appears to be a dependency of https://github.com/trufflesuite/truffle-hdwallet-provider & https://github.com/ethereum/web3.js/
I have rebuilt/installed several times after:
rm -rf node_modules/*
,npm i --no-package-lock
, incase my package-lock.json made on macos installed a different package.scypt
andscrypt.js
as project dependencies, then creating symlinks inside all the package dependencies that have ascrypt
andscrypt.js
dependency tonode_modules/scrypt
andnode_modules/scrypt.js
which doesn't actually resolve the issue. As suggested here: blockTime > 2 causes contract code not be stored; --allowUnlimitedContractSize has no effect; trufflesuite/ganache#134 (comment)--lts
all do the same:npm install --unsafe-perm --no-package-lock
/usr/bin/gcc
to use a symlink to gcc44 instead of gcc48scrypt
globallysimilar issue:
trufflesuite/ganache#134
The text was updated successfully, but these errors were encountered: