3.0.0 Upgrade Support Thread
-
@julian Getting this on upgrade of PROD
sudonix@vps:~/nodebb$ ./nodebb upgrade Updating NodeBB... 1. Updating package.json file with defaults... OK 2. Bringing base dependencies up to date... started 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_15_24_458Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: npm ERR! /home/sudonix/.npm/_logs/2023-04-26T17_15_24_458Z-debug-0.log Error installing dependencies! message: Command failed: npm install --omit=dev stdout: null stderr: null Error occurred during upgrade: 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.handler (/home/sudonix/nodebb/src/cli/upgrade.js:22:19) at runSteps (/home/sudonix/nodebb/src/cli/upgrade.js:55:16) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.runUpgrade [as upgrade] (/home/sudonix/nodebb/src/cli/upgrade.js:85:3) 2023-04-26T17:15:28.215Z [4567,4568,4569/1365893] - error: uncaughtException: Command failed: npm install --omit=dev 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.handler (/home/sudonix/nodebb/src/cli/upgrade.js:22:19) at runSteps (/home/sudonix/nodebb/src/cli/upgrade.js:55:16) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.runUpgrade [as upgrade] (/home/sudonix/nodebb/src/cli/upgrade.js:85:3) {"date":"Wed Apr 26 2023 18:15:28 GMT+0100 (British Summer Time)","error":{"output":[null,null,null],"pid":1365900,"signal":null,"status":1,"stderr":null,"stdout":null},"exception":true,"os":{"loadavg":[0.51,0.44,0.33],"uptime":2508819.71},"process":{"argv":["/usr/bin/node","/home/sudonix/nodebb/nodebb","upgrade"],"cwd":"/home/sudonix/nodebb","execPath":"/usr/bin/node","gid":1011,"memoryUsage":{"arrayBuffers":1253734,"external":2155945,"heapTotal":36204544,"heapUsed":24102240,"rss":79224832},"pid":1365893,"uid":1021,"version":"v18.16.0"},"stack":"Error: Command failed: npm install --omit=dev\n at checkExecSyncError (node:child_process:885:11)\n at Object.execSync (node:child_process:957:15)\n at pkgInstall.installAll (/home/sudonix/nodebb/src/cli/package-install.js:129:9)\n at Object.handler (/home/sudonix/nodebb/src/cli/upgrade.js:22:19)\n at runSteps (/home/sudonix/nodebb/src/cli/upgrade.js:55:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.runUpgrade [as upgrade] (/home/sudonix/nodebb/src/cli/upgrade.js:85:3)","trace":[{"column":11,"file":"node:child_process","function":"checkExecSyncError","line":885,"method":null,"native":false},{"column":15,"file":"node:child_process","function":"Object.execSync","line":957,"method":"execSync","native":false},{"column":9,"file":"/home/sudonix/nodebb/src/cli/package-install.js","function":"pkgInstall.installAll","line":129,"method":"installAll","native":false},{"column":19,"file":"/home/sudonix/nodebb/src/cli/upgrade.js","function":"Object.handler","line":22,"method":"handler","native":false},{"column":16,"file":"/home/sudonix/nodebb/src/cli/upgrade.js","function":"runSteps","line":55,"method":null,"native":false},{"column":5,"file":"node:internal/process/task_queues","function":"process.processTicksAndRejections","line":95,"method":"processTicksAndRejections","native":false},{"column":3,"file":"/home/sudonix/nodebb/src/cli/upgrade.js","function":"async Object.runUpgrade [as upgrade]","line":85,"method":"runUpgrade [as upgrade]","native":false}]} sudonix@vps:~/nodebb$
-
@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
Copyright © 2024 NodeBB | Contributors