NodeBB stuck at v0.7.0 - Says no update is found
-
@julian
I think i made a mistake on the way, when trying to run a command as simple as ./nodebb stop
I receive the same error.module.js:340
throw err;
^
Error: Cannot find module 'colors'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/root/nodebb/nodebb:3:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10) -
@MySelfLuls Run
npm i
first, and then try to stop your NodeBB again. -
@julian
Just tried running npm i.Recieved this error.
I honestly suspect I have corrupted the system.npm ERR! install Couldn't read dependencies
npm ERR! Failed to parse json
npm ERR! Unexpected token <
npm ERR! File: /root/nodebb/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parsenpm ERR! System Linux 3.16.0-28-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "i"
npm ERR! cwd /root/nodebb
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! file /root/nodebb/package.json
npm ERR! code EJSONPARSE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/nodebb/npm-debug.log
npm ERR! not ok code 0 -
When using the git checkout v0.7.x i recieved this error
Already on 'v0.7.x'
Your branch is ahead of 'origin/v0.7.x' by 12 commits.
(use "git push" to publish your local commits)I was unsure if it was an actual error and went ahead to the git reset --hard HEAD origin/v0.7.x
Then I recieved this error:
fatal: Cannot do hard reset with paths.
-
Seems like we're both on the same boat @MySelfLuls
This is indeed very strange.
Edit: It seems they have pulled v0.7.1 for now