Clear your cookies and cache
just pulled the latest, now forum wont start
Hey guys I just pulled the latest and I'm getting this error:
~/Dropbox/NodeBB/node_modules/redis/index.js:535 throw err; ^ Error: Cannot find module 'socket.io-wildcard' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object.<anonymous> (~/Dropbox/NodeBB/src/socket.io/index.js:2:21) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17)
I tried doing an npm rebuild as well, no dice
Did you run
That fixed it. So I have to run npm install everytime I pull the latest?
Not everytime, just when something changes in the package.json file.
@BDHarrington7 You can also run
./nodebb upgrade. This will take care of all tasks that need upgrading after a
Good to know! I did try:
node app --upgrade
but it seems that only checks to see if the schema is up to date
@BDHarrington7 That's right,
./nodebb upgradedoes two more things in addition to updating the schema, so it pretty much replaces the need to run
node app --upgradeat all.