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

FIRST_SETUP_debian_wheezy.sh fails installing npm #41

Open
meetri opened this issue Sep 30, 2015 · 1 comment
Open

FIRST_SETUP_debian_wheezy.sh fails installing npm #41

meetri opened this issue Sep 30, 2015 · 1 comment

Comments

@meetri
Copy link

meetri commented Sep 30, 2015

When running the FIRST_SETUP_debian_wheezy.sh script, I get the following before it completes:
Running mktexlsr. This may take some time... done.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 51 100 51 0 0 2104 0 --:--:-- --:--:-- --:--:-- 5666
sh: 1: Moved: not found
ALL DONE! YEAH!!

looking into this issue, apparently the final line in the above script attempts to install npm via www.npmjs.org, however this domain has moved and is now being redirected to www.npm.org.

the fix is to just add -L to curl so it follows redirects. or maybe, just update the url?

Second to last line in the FIRST_SETUP_debian_wheezy.sh script needs to be changed from

curl https://www.npmjs.org/install.sh | sh
to
curl -L https://www.npmjs.org/install.sh | sh

@Vinschni
Copy link

You are correct. I did a pull request on it.
#46

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

2 participants