0
我幾分鐘前下載了Node.js,解壓縮到/ usr/node下,調整我的PATH,運行npm install並得到這些錯誤。這裏可能是什麼問題?無法安裝Node.js包
bin $ npm install ws
/usr/node/bin
└── [email protected]
npm WARN enoent ENOENT: no such file or directory, open '/usr/node/bin/package.json'
npm WARN bin No description
npm WARN bin No repository field.
npm WARN bin No README data
npm WARN bin No license field.
bin $ pwd
/usr/node/bin
bin $ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/local/musl/bin:/opt/Qt/5.7/gcc_64/bin/:/home/niko/.local/bin:/home/niko/bin:/usr/local/musl/bin:/opt/Qt/5.7/gcc_64/bin/:/usr/node/bin
bin $
謝謝!謝謝! – Nulik