Update docs: npm is not shipped with nodejs since 0.12.2-4
-
Please add npm to first code here: https://docs.nodebb.org/en/latest/installing/os/arch.html
npm
is not shipped with nodejs since 0.12.2-4; It should be installed manually. -
created PR: https://github.com/NodeBB/nodebb-english/pull/38
-
@julian It makes sense to keep npm as "optional dependency" since it's not necessary to run an nodejs-application. So it's absolutely valid for my point of view.
Funny fact: even the node.js-wiki didn't add it yet (even so they mention npm separated e.g. for fedora) https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#arch-linux
EDIT: just added -
@reaon said:
- npm does not work with Python>3.0.0 -->
npm config set python python2.7
- npm's ssl certificate problem! -->
npm config set registry http://registry.npmjs.org
--> http instead of https
- To be a bit more clean you may consider using
python2
(symlinks topython2.7
for now) instead of directlypython2.7
- I haven't heard of this yet, any source for me to read? The only issue I found (within fast search) would require a pretty outdated version of
npm
to happen...
- npm does not work with Python>3.0.0 -->
-
I haven't heard of this yet, any source for me to read?
http://stackoverflow.com/a/18689934 --> It solved my problem. There is two possibility: 1. My ISP problem 2. npm certificate!
To be a bit more clean you may consider using python2
Great, thank you for the point. I followed this post: http://stackoverflow.com/a/22433804