3.0.0 Upgrade Support Thread
-
@julian Nope. Much worse in fact
sudonix@vps:~/nodebb$ ./nodebb upgrade npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/nodebb-plugin-emoji npm ERR! nodebb-plugin-emoji@"5.0.6" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer nodebb-plugin-emoji@"^4.0.1" from [email protected] npm ERR! node_modules/nodebb-plugin-emoji-apple npm ERR! nodebb-plugin-emoji-apple@"^3.0.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! /home/sudonix/.npm/_logs/2023-04-26T17_27_06_685Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: npm ERR! /home/sudonix/.npm/_logs/2023-04-26T17_27_06_685Z-debug-0.log Error installing dependencies! message: Command failed: npm install --omit=dev stdout: null stderr: null /home/sudonix/nodebb/src/cli/index.js:67 throw e; ^ Error: Command failed: npm install --omit=dev at checkExecSyncError (node:child_process:885:11) at Object.execSync (node:child_process:957:15) at pkgInstall.installAll (/home/sudonix/nodebb/src/cli/package-install.js:129:9) at Object.<anonymous> (/home/sudonix/nodebb/src/cli/index.js:20:19) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Module._load (node:internal/modules/cjs/loader:958:12) at Module.require (node:internal/modules/cjs/loader:1141:19) { status: 1, signal: null, output: [ null, null, null ], pid: 1367037, stdout: null, stderr: null } Node.js v18.16.0 sudonix@vps:~/nodebb$
-
-
-
@julian Nope
sudonix@vps:~/nodebb$ npm i npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/nodebb-plugin-emoji npm ERR! nodebb-plugin-emoji@"5.0.6" from the root project npm ERR! peer nodebb-plugin-emoji@"^5.0.0" from [email protected] npm ERR! node_modules/nodebb-plugin-emoji-android npm ERR! nodebb-plugin-emoji-android@"4.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer nodebb-plugin-emoji@"^4.0.1" from [email protected] npm ERR! node_modules/nodebb-plugin-emoji-apple npm ERR! nodebb-plugin-emoji-apple@"^3.0.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/nodebb-plugin-emoji npm ERR! peer nodebb-plugin-emoji@"^4.0.1" from [email protected] npm ERR! node_modules/nodebb-plugin-emoji-apple npm ERR! nodebb-plugin-emoji-apple@"^3.0.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! /home/sudonix/.npm/_logs/2023-04-26T17_33_29_315Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: npm ERR! /home/sudonix/.npm/_logs/2023-04-26T17_33_29_315Z-debug-0.log sudonix@vps:~/nodebb$
-
maybe a little tutorial for us
-
maybe a tutorial for 2.x to v3.0.0
-
-
It seems that the client side methods (console/Tampermonkey etc, not in plugin)
app.alert
,app.alertSuccess
andapp.alertError
are gone (they areundefined
)
What is the substitute for that?
Thanks -
instead, upgrading from docker image:
ghcr.io/nodebb/nodebb:2.8
to image:ghcr.io/nodebb/nodebb:3.0
I get this:ENOENT: no such file or directory, open '/usr/src/app/node_modules/csurf/package.json'
edit: switched to normal install and I don't get this error anymore
Copyright © 2024 NodeBB | Contributors