node.js - NPM error when changing Taobao image: interpreter error
扔个三星炸死你2017-06-30 09:56:52
0
2
1057
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
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
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
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.