node.js - NPM error when changing Taobao image: interpreter error
扔个三星炸死你
扔个三星炸死你 2017-06-30 09:56:52
0
2
1118

The above string is the installation record of cnpm
But when trying to start, it appears: Interpreter error: No such file or directory
Environment:
ubuntu 16.4

Suddenly found that the -g installation reported the same error

扔个三星炸死你
扔个三星炸死你

reply all(2)
洪涛

The installation posture is wrong, sorry, it wastes space
Post the method here
Do not install from apt! Don't install from apt! Don't install from apt! The nodejs installed from apt is a very old version 4.x
Say important things three times.
Download the source code package directly from the official nodejs
The decompressed folders /bin/node and /bin/npm can be used directly
If you need a global view, just create ln

ringa_lee

It may be a coding error;
There seems to be an answer to the interpreter error on the ubuntu forum, you can check it out.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!