Closed TGC-TECH closed 6 years ago
I am going to try and update my nodejs... but with the default repos it says I am running the latest version
I used "curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs" to update my nodejs and now I get
npm WARN package.json mMusicCast@1.0.0 No repository field. npm ERR! Error: Method Not Allowed npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10) npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12 npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7) npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 4.9.0-0.bpo.5-amd64 npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! cwd /root/mMusicCast npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! code E405 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /root/mMusicCast/npm-debug.log npm ERR! not ok code 0
if you need me to upload the additional logging details mentioned I can
Nevermind. I fixed it. I had to install nodejs 10
npm WARN package.json mMusicCast@1.0.0 No repository field. npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN engine superagent@3.8.3: wanted: {"node":">= 4.0"} (current: {"node":"0 .10.29","npm":"1.4.21"}) npm WARN engine yaeti@0.0.6: wanted: {"node":">=0.10.32"} (current: {"node":"0.1 0.29","npm":"1.4.21"}) npm WARN engine mime@1.6.0: wanted: {"node":">=4"} (current: {"node":"0.10.29"," npm":"1.4.21"}) npm WARN engine form-data@2.3.2: wanted: {"node":">= 0.12"} (current: {"node":"0 .10.29","npm":"1.4.21"})
npm ERR! Error: Method Not Allowed npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10) npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12 npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.j s:167:7) npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 4.9.0-0.bpo.5-amd64 npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! cwd /root/mMusicCast npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! code E405 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /root/mMusicCast/npm-debug.log npm ERR! not ok code 0