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

Having trouble installing via NPM #1

Open
SilentCicero opened this issue Oct 22, 2015 · 9 comments
Open

Having trouble installing via NPM #1

SilentCicero opened this issue Oct 22, 2015 · 9 comments

Comments

@SilentCicero
Copy link

nick@nick:~/Github$ sudo npm install -g ethersim
[sudo] password for nick:
npm ERR! not a package /tmp/npm-16321-owQ1nK8p/github.com/iurimatias/node-jsonrpc2.git
npm ERR! Error: ENOENT, open '/tmp/npm-16321-owQ1nK8p/github.com/iurimatias/node-jsonrpc2.git-unpack/package.json'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 4.0.0-040000-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "ethersim"
npm ERR! cwd /home/nick/Github
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! path /tmp/npm-16321-owQ1nK8p/github.com/iurimatias/node-jsonrpc2.git-unpack/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/nick/Github/npm-debug.log
npm ERR! not ok code 0

having trouble installing ethersim from NPM, any thoughts?

@iurimatias
Copy link
Owner

what version of npm and node do you got? it seems to be some permissions issue e.g npm/npm#3664

@SilentCicero
Copy link
Author

I'll run an update, if I still get the same errors I'll run it by you.

@iurimatias
Copy link
Owner

@SilentCicero just released a new version with a lots of npm issues fixed. please let me know if you are still having issues

@taoeffect
Copy link

@iurimatias I figured out why Embark is failing to install on OS X.

EtherSim is using an outdated version of ethereumjs-vm. The latest version of ethereumjs-vm is 1.0.1, and it has the latest secp256k1 with the fix for OS X.

Unless there are other uncaught outdated dependencies, addressing this should fix:

EDIT: Since this is different from what @SilentCicero describes, I've opened #2.

@tcoulter
Copy link
Contributor

We really need to update NPM with what's on develop. :)

iurimatias pushed a commit that referenced this issue Nov 20, 2015
@iurimatias
Copy link
Owner

released 0.2.0 with the latest changes

@taoeffect
Copy link

Tried to npm install -g EtherSim, still fails due to unfixed secp256k1 versions:

[email protected] install /usr/local/lib/node_modules/ethersim/node_modules/ethereumjs-vm/node_modules/secp256k1

[email protected] install /usr/local/lib/node_modules/ethersim/node_modules/ethereumjs-block/node_modules/secp256k1

@AronVanAmmers
Copy link
Collaborator

I'm getting a recent version of secp256k1 when installing from npm today. So this issue might be closed?

End result of npm install -g ethersim:

[email protected] /usr/lib/node_modules/ethersim
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

@taoeffect
Copy link

Yep, I can confirm that this works now (and installs an insane amount of dependencies).

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

No branches or pull requests

5 participants