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

npm install failed #1

Open
gabx opened this issue Jul 5, 2016 · 6 comments
Open

npm install failed #1

gabx opened this issue Jul 5, 2016 · 6 comments

Comments

@gabx
Copy link

gabx commented Jul 5, 2016

ethereum-testing-reference % npm install

npm WARN starter@ No repository field.
npm WARN starter@ No license field.
npm ERR! Linux 4.6.1-2-hortensia
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v6.2.2
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: npm run rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'npm run rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the secp256k1 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs secp256k1
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls secp256k1
npm ERR! There is likely additional logging output above.

npm-debug.txt

@romanman
Copy link
Contributor

romanman commented Jul 5, 2016

@gabx : more info on your environment please.
linux/win what version and so on.

@asinyagin

@asinyagin
Copy link
Contributor

@gabx yeah, there's a problem in secp256k1 build-script. It tries to use /usr/bin/node, but ubuntu installs nodejs to /usr/bin/nodejs. As a workaround you can run ln -s /usr/bin/nodejs /usr/bin/node.

cryptocoinjs/secp256k1-node#88

@romanman
Copy link
Contributor

romanman commented Jul 7, 2016

@gabx is it ok now?

@gabx
Copy link
Author

gabx commented Jul 7, 2016

Sorry for late answer. I run Linux Fedora 24. I do not have /usr/bin/nodejs but rather /usr/bin/node
% npm version { npm: '3.10.3', ares: '1.10.1-DEV', http_parser: '2.7.0', icu: '57.1', modules: '48', node: '6.2.2', openssl: '1.0.2h', uv: '1.9.1', v8: '5.0.71.52', zlib: '1.2.8' }

@asinyagin
Copy link
Contributor

@gabx i've just tried to run the tests on fedora 24 docker and haven't got the error. I see you have different nodejs version, how did you install it?

@romanman
Copy link
Contributor

@gabx @asinyagin ::: should we close that one ?

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

3 participants