Update, merge issue..
-
ok, so i restored my forum from a backup
removed all unnecessary plugins by ACP (including spam-be-gone and ifsta-ui)
checked that there was no plugin foldes in node_modules/
restarted forum and checked it works wellthen:
sudo git checkout v0.7.x sudo git fetch sudo git reset --hard origin/v0.7.x sudo npm i
there was no more warnings, but the errors still exists
npm ERR! peerinvalid The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@>=0.0.137 npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@~0.0.18 npm ERR! System Linux 3.16.0-43-generic npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "i" npm ERR! cwd /home/leksar/nodebb npm ERR! node -v v0.10.25 npm ERR! npm -v 1.3.10 npm ERR! code EPEERINVALID npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/leksar/nodebb/npm-debug.log npm ERR! not ok code 0
looks like the "links" are stored somethere else
-
leksar@ubuntu:~/nodebb$ sudo npm unl -g nodebb-theme-ifsta-ui npm WARN uninstall not installed in /usr/local/lib/node_modules: "nodebb-theme-ifsta-ui" leksar@ubuntu:~/nodebb$ sudo npm i nodebb-theme-ifsta-ui npm http GET https://registry.npmjs.org/nodebb-theme-ifsta-ui npm http 200 https://registry.npmjs.org/nodebb-theme-ifsta-ui npm http GET https://registry.npmjs.org/nodebb-theme-ifsta-ui/-/nodebb-theme-ifsta-ui-0.1.3.tgz npm http 200 https://registry.npmjs.org/nodebb-theme-ifsta-ui/-/nodebb-theme-ifsta-ui-0.1.3.tgz npm ERR! peerinvalid The package nodebb-theme-vanilla does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@>=0.0.137 npm ERR! peerinvalid Peer [email protected] wants nodebb-theme-vanilla@~0.0.18 npm ERR! System Linux 3.16.0-43-generic npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "i" "nodebb-theme-ifsta-ui" npm ERR! cwd /home/leksar/nodebb npm ERR! node -v v0.10.25 npm ERR! npm -v 1.3.10 npm ERR! code EPEERINVALID npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/leksar/nodebb/npm-debug.log npm ERR! not ok code 0 leksar@ubuntu:~/nodebb$
-
Providing you've not done anything insane like edit things inside node_modules directly, or added packages without saving them in your package.json then a quick fix for this stuff is to do:
./nodebb stop rm -rf node_modules #to remove your entire node_modules folder to start again npm install #to install all your stuff from scratch ./nodebb config #to setup your database driver install
(press enter a lot on the config to use the same options as you already had installed)
./nodebb start ./nodebb log
-
Ok, problem is solved. The reason is my stupidity.
What we see on logs as "nodebb-theme-ifsta-ui" is not what it seems.
Month or two ago i manually copied folder nodebb-theme-ifsta-ui, renamed it and changed some strings in package.json, so it appered in ACP as separate theme which I was working on lately. So, after the removal of the theme update goes smoothly.Shame on me, thanks for your help and sorry for your time
Now, all what i need is to learn how to add my own theme properly. -
Thanks @BDHarrington7 but that didn't work either.
I'll backup & reinstall from scratch, probably the right idea this time as i've a Wordpress install which isn't behaving properly either, so I can tackle a number of issues head-on.
Cheers guys.