Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

install.sh isn't working fine #5173

Closed
barothardik opened this issue Apr 30, 2014 · 4 comments
Closed

install.sh isn't working fine #5173

barothardik opened this issue Apr 30, 2014 · 4 comments
Labels

Comments

@barothardik
Copy link

I downloaded npm install file using wget

The following line 181 in the install file needs a change
url=(curl -SsL https://registry.npmjs.org/npm/$t; echo "") \ | sed 's/^.*tarball":"//' \ | sed 's/".*$//'

url=(curl -SsL -k https://registry.npmjs.org/npm/$t; echo "") \ | sed -e 's/^.*tarball":"//' \ | sed -e 's/".*$//'

After making that change, I was able to install npm successfully but it says ts is in future.

/bin/tar: package/node_modules/uid-number/uid-number.js: time stamp 2014-03-03 20:17:02 is 107091.192203168 s in the future

@barothardik
Copy link
Author

Please neglect the "timestamp is in future." part.

@jacques
Copy link

jacques commented May 1, 2014

What OS are you using?

@barothardik
Copy link
Author

Linux

@barothardik
Copy link
Author

Looks like I had a machine time issue.I tried using
curl https://www.npmjs.org/install.sh | sh
today and it worked just fine.

Maybe I was doing something incorrectly.

Thank you jacques for spending time and looking into it.

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

No branches or pull requests

3 participants