error when typing npm start ubuntu

I've been using npm and it kept throwing errors so I reintsalled nodejs, npm, and express and this is what I get when I start npm. Seems that it keeps reading a legacy file, how can I fix it?

npm ERR! weird error 8 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0 0

链接地址: http://www.djcxy.com/p/27696.html

上一篇: Ubuntu的16.04节点NPM问题

下一篇: 输入npm启动ubuntu时出错