Wtf? Upgrade from 1.5.1 to 1.5.3 and all my plugins were uninstalled...
-
Err, that's really weird! That definitely shouldn't happen and is not anything we've done with NodeBB.
Did you perchance upgrade Node.js at the same time? Instead of using the ACP to download and install plugins, try using
npm i pluginName
, does it still happen then? -
@julian said in Wtf? Upgrade from 1.5.1 to 1.5.3 and all my plugins were uninstalled...:
Did you perchance upgrade Node.js at the same time? Instead of using the ACP to download and install plugins, try using npm i pluginName, does it still happen then?
I have upgraded Node.js recently, but it was working perfect on NodeBB v1.5.1? My Node version is v8.2.1.
-
@julian said in Wtf? Upgrade from 1.5.1 to 1.5.3 and all my plugins were uninstalled...:
try using npm i pluginName, does it still happen then?
Yup. That also deletes my other plugin.
I had SendGrid Emailer installed, installed Recent Cards via
npm
and now SendGrid is gone.What's the best way to rollback NodeBB to 1.5.2 (or, 1.5.1 if that is acting up also?).
-
Maybe this has something to do with it?
When I try to checkout v1.5.2 or v1.5.1 I get this error:
error: Your local changes to the following files would be overwritten by checkout: package.json Please, commit your changes or stash them before you can switch branches. Aborting
-
Er. Maybe not. Deleting plugins still. Dangit.
-
Do you know what this error might be?
4/8 01:20:08 [5535] - error: /login invalid csrf token
Keeps reappearing and I've never noticed it before.
-
@baris said in Wtf? Upgrade from 1.5.1 to 1.5.3 and all my plugins were uninstalled...:
nodejs 8 isn't officially supported, maybe try with 6.x
Gotcha! Let me try downgrading nodejs.
-
@baris said in Wtf? Upgrade from 1.5.1 to 1.5.3 and all my plugins were uninstalled...:
nodejs 8 isn't officially supported, maybe try with 6.x
That did it. Used nvm to downgrade to v6.x and worked like a charm. Thanks so much!
-
@michael-pfaff I have seen these issue when using nodejs 8. Not with NodeBB but with other app. Seems to be issues with npm on nodejs v8.
-
@pichalite said in Wtf? Upgrade from 1.5.1 to 1.5.3 and all my plugins were uninstalled...:
@michael-pfaff I have seen these issue when using nodejs 8. Not with NodeBB but with other app. Seems to be issues with npm on nodejs v8.
Yup. Downgrading resolved the issue. Very much appreciate the help!
-
It's due to how npm@5 works.
-
npm install npm@4 -g
should also fix this issue