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 is 2.14 not 3.5.2 (using node:4.2-wheezy image) #82

Closed
SamMorrowDrums opened this issue Jan 4, 2016 · 3 comments
Closed

NPM is 2.14 not 3.5.2 (using node:4.2-wheezy image) #82

SamMorrowDrums opened this issue Jan 4, 2016 · 3 comments

Comments

@SamMorrowDrums
Copy link

NPM install fails for me, and it is reporting that the version is: 2.14.12, I believe this fixed in later versions of NPM but I am confused as to why I'm even using npm 2.

Step 0 : FROM node:4.2-wheezy
 ---> 005063d24086
Step 1 : RUN npm install --global gulp
 ---> Running in 68159de6a2fc
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info addNameTag [ 'gulp', 'latest' ]
npm info attempt registry request try #1 at 12:18:56 PM
npm http request GET https://registry.npmjs.org/gulp
npm info retry will retry, error on last attempt: Error: self signed certificate
@SamMorrowDrums
Copy link
Author

OK, I tried with 5 image, and still getting issue, so perhaps I have an issue with my server config.

Status: Downloaded newer image for node:5-wheezy
 ---> 9eadfadbb80c
Step 1 : RUN npm install --global gulp
 ---> Running in af685962f860
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info attempt registry request try #1 at 12:23:58 PM
npm http request GET https://registry.npmjs.org/gulp
npm info retry will retry, error on last attempt: Error: self signed certificate

@Starefossen
Copy link
Member

Node.js v4.2.4 'Argon' (LTS) ships with npm 2.14.12.

From the Node.js v4.2.4 Changelog:

This is the true for the Official Node.js :4 and argon Docker Images:

$ docker run --rm -it node:4 npm --version
> 2.14.12

@SamMorrowDrums
Copy link
Author

No problem, I'm just assumed wrongly it was old NPM. I'm looking into what is breaking certificate chain now!

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