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

Informative: Ubuntu 14.04 installation #141

Closed
MarkPfennig opened this issue Jul 29, 2014 · 3 comments
Closed

Informative: Ubuntu 14.04 installation #141

MarkPfennig opened this issue Jul 29, 2014 · 3 comments

Comments

@MarkPfennig
Copy link

Some of the npm modules required by insight-api are not configured to support ubuntu 14.04 upon download. To resolve the issue and install cleanly take the following steps:

apt-get install nodejs npm nodejs-legacy
cd insight-api
npm install

If you have already tried and failed to get it working due to gyp issues, let's first clarify that Python 2.6 is not required, the default 2.7 will work fine.

To cleanly install insight-api when you have already taken some steps to try and get it set up, do the following:

apt-get install nodejs-legacy
cd insight-api
npm cache clear
rm -rf ./node_modules
git pull
npm install

This will remove all npm modules and reinstall them, after first providing legacy support to call node on the command line in addition to nodejs which the gyp module requires.

I hope that helps anybody experiencing issues setting up insight-api.

Thank you to BitPay for this wonderful application.

@maraoz
Copy link
Contributor

maraoz commented Aug 16, 2014

Thanks for the contribution! Would you consider adding this to the README? It would be better there than as a github issue. If you need a guide for contributing, check: https://github.com/bitpay/bitcore/blob/master/CONTRIBUTING.md

@braydonf
Copy link
Contributor

braydonf commented Nov 4, 2015

This is outdated with the latest release of bitcore, bitcore-node and insight v0.3.0. However support with the nodejs package doesn't currently work since event the latest versions of Ubuntu include v0.10.25. If needed, we can resolve with: bitpay/bitcore-node#350

@braydonf braydonf closed this as completed Nov 4, 2015
@braydonf
Copy link
Contributor

braydonf commented Nov 4, 2015

You can also see the details on https://bitcore.io/guides/full-node for running with Ubuntu 14.04 with nvm.

jcvernaleo pushed a commit to decred/insight-api that referenced this issue Feb 7, 2016
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