NodeBB v3.0.0-alpha.1 — an alpha release
-
@phenomlab Thanks for the feedback! I'll update the original post with some instructions shortly
Alternatively, you could download the .zip or
.tar.gz
archive and replace your NodeBB directory with those files, though you'd have to take care to preserve thepublic/uploads
folder.Edit: Done.
-
@baris @julian seems
3.0.0-alpha.1
is broken and will no longer build?Error: Undefined mixin. ╷ 151 │ @include fa-icon-solid($fa-var-circle-chevron-up); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules/nodebb-theme-persona/scss/topic.scss 151:3 @import node_modules/nodebb-theme-persona/scss/persona.scss 5:9 @import theme.scss 1:9 @import - 47:9 root stylesheet at Object.wrapException (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:1247:17) at _EvaluateVisitor1.visitIncludeRule$1 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:81140:17) at IncludeRule0.accept$1$1 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:86125:22) at IncludeRule0.accept$1 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:86128:19) at _EvaluateVisitor_visitStyleRule__closure1.call$0 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:83183:16) at _EvaluateVisitor1._evaluate0$_withStyleRule$1$2 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:82072:25) at _EvaluateVisitor1._evaluate0$_withStyleRule$2 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:82077:19) at _EvaluateVisitor_visitStyleRule_closure20.call$0 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:83175:10) at Environment0.scope$1$3$semiGlobal$when (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:80154:25) at Environment0.scope$1$2$when (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:80200:19) 2022-10-19T17:06:29.919Z [4571/236519] - error: Error: Undefined mixin. ╷ 151 │ @include fa-icon-solid($fa-var-circle-chevron-up); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules/nodebb-theme-persona/scss/topic.scss 151:3 @import node_modules/nodebb-theme-persona/scss/persona.scss 5:9 @import theme.scss 1:9 @import - 47:9 root stylesheet at Object.wrapException (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:1247:17) at _EvaluateVisitor1.visitIncludeRule$1 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:81140:17) at IncludeRule0.accept$1$1 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:86125:22) at IncludeRule0.accept$1 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:86128:19) at _EvaluateVisitor_visitStyleRule__closure1.call$0 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:83183:16) at _EvaluateVisitor1._evaluate0$_withStyleRule$1$2 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:82072:25) at _EvaluateVisitor1._evaluate0$_withStyleRule$2 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:82077:19) at _EvaluateVisitor_visitStyleRule_closure20.call$0 (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:83175:10) at Environment0.scope$1$3$semiGlobal$when (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:80154:25) at Environment0.scope$1$2$when (/home/sudonix.dev/nodebb/node_modules/sass/sass.dart.js:80200:19) sudonix.dev@vps:~/nodebb$ node:events:491 throw er; // Unhandled 'error' event ^ Error: write EPIPE at target._send (node:internal/child_process:865:20) at target.send (node:internal/child_process:738:19) at process.<anonymous> (/home/sudonix.dev/nodebb/src/meta/minifier.js:119:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Emitted 'error' event on process instance at: at node:internal/child_process:869:39 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { errno: -32, code: 'EPIPE', syscall: 'write' }
And in the log
Hit Ctrl-C to exit at renderMethod (/home/sudonix.dev/nodebb/src/middleware/render.js:75:15) at async ServerResponse.renderOverride [as render] (/home/sudonix.dev/nodebb/src/middleware/render.js:96:5) Error: Failed to lookup view "500" in views directory "/home/sudonix.dev/nodebb/build/public/templates" at Function.render (/home/sudonix.dev/nodebb/node_modules/express/lib/application.js:597:17) at ServerResponse.render (/home/sudonix.dev/nodebb/node_modules/express/lib/response.js:1039:7) at /home/sudonix.dev/nodebb/src/middleware/render.js:107:11 at new Promise (<anonymous>) at renderContent (/home/sudonix.dev/nodebb/src/middleware/render.js:106:10) at renderMethod (/home/sudonix.dev/nodebb/src/middleware/render.js:75:15) at async ServerResponse.renderOverride [as render] (/home/sudonix.dev/nodebb/src/middleware/render.js:96:5)
EDIT: Forgot that this was a replica install of prod, so needed to run
./nodebb upgrade
first -
Another issue. Despite upgrading plugins from the CLI, I get the below
2022-10-19T17:44:45.677Z [4571/251921] - info: Initializing NodeBB v3.0.0-alpha.1 https://sudonix.dev 2022-10-19T17:44:47.351Z [4571/251921] - warn: [outdated] nodebb-plugin-browsing-users installed v3.0.0, package.json requires ^2.0.4 2022-10-19T17:44:47.353Z [4571/251921] - warn: [outdated] nodebb-plugin-iframely installed v0.7.16, package.json requires ^1.0.0 2022-10-19T17:44:47.354Z [4571/251921] - warn: [outdated] nodebb-plugin-recent-cards installed v3.1.1, package.json requires ^2.0.22 2022-10-19T17:44:47.355Z [4571/251921] - warn: [outdated] nodebb-plugin-question-and-answer installed v0.12.26, package.json requires ^1.0.3 2022-10-19T17:44:47.355Z [4571/251921] - warn: [outdated] nodebb-plugin-poll installed v3.0.0, package.json requires ^2.0.6 2022-10-19T17:44:47.363Z [4571/251921] - error: One or more of NodeBB's dependent packages are out-of-date. Please run the following command to update them: 2022-10-19T17:44:47.363Z [4571/251921] - error: ./nodebb upgrade
And
./nodebb upgrade
does not resolve the issue.Edit - resolved by removing affected plugins and reinstalling after build.
-
@julian said in NodeBB v3.0.0-alpha.1 — an alpha release:
so yes, it's normal prior to v3 to have those warnings emitted.
Ok, but this was after the upgrade to alpha?
-
@baris said in NodeBB v3.0.0-alpha.1 — an alpha release:
We have added some fallbacks for classes like pull-right and pull-left, so thinks don't break completely. We will replace those with float-start/end before release.
Is it possible to get access to a release that has these changes ? Seems pointless remediating existing classes (my theme is all over the place currently) only for them to be removed in the final release.
-
Hello
I want to test alpha1 for V3 for test my JS, theme switcher, css themes, etc.
I have upgraded my dev environnement to 2.8.1
I follow this link : https://community.nodebb.org/post/89581So, hop !
cd /path/to/your/nodebb git rev-parse HEAD # save this value in case you need to roll back --- 727f879e5b1698fcf9bdbaca5181b28d0e9497fd git fetch && git checkout bootstrap5 git reset --hard v3.0.0-alpha.1 ./nodebb upgrade -mi
But
root@node:~# cd /home/nodebb/nodebb/ root@node:/home/nodebb/nodebb# git fetch && git checkout bootstrap5 remote: Enumerating objects: 5, done. remote: Counting objects: 100% (5/5), done. remote: Total 5 (delta 4), reused 5 (delta 4), pack-reused 0 Dépaquetage des objets: 100% (5/5), 441 octets | 73.00 Kio/s, fait. Depuis https://github.com/NodeBB/NodeBB cf7aa1941..71743affc bootstrap5 -> origin/bootstrap5 La branche 'bootstrap5' est paramétrée pour suivre la branche distante 'bootstrap5' depuis 'origin'. Basculement sur la nouvelle branche 'bootstrap5' root@node:/home/nodebb/nodebb# git reset --hard v3.0.0-alpha.1 HEAD est maintenant à 4f70d19e1 chore: v3.0.0-alpha.1 :tada: root@node:/home/nodebb/nodebb# ./nodebb upgrade -mi Dependencies outdated or not yet installed. Installing them now... npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: [email protected] npm WARN Found: [email protected] npm WARN node_modules/nodebb-plugin-emoji npm WARN nodebb-plugin-emoji@"5.0.2" from the root project npm WARN 2 more (@nodebb/nodebb-plugin-reactions, nodebb-plugin-emoji-android) npm WARN npm WARN Could not resolve dependency: npm WARN peer nodebb-plugin-emoji@"^4.0.0" from @nodebb/[email protected] npm WARN node_modules/@nodebb/nodebb-plugin-reactions npm WARN @nodebb/nodebb-plugin-reactions@"^1.0.2" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: [email protected] npm WARN Found: [email protected] npm WARN node_modules/nodebb-plugin-markdown npm WARN nodebb-plugin-markdown@"11.0.2" from the root project npm WARN 1 more (nodebb-plugin-extended-markdown) npm WARN npm WARN Could not resolve dependency: npm WARN peer nodebb-plugin-markdown@"^10.0.0" from [email protected] npm WARN node_modules/nodebb-plugin-extended-markdown npm WARN nodebb-plugin-extended-markdown@"^1.6.0" from the root project npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/makeusabrew/bootbox.git npm ERR! Warning: Permanently added 'github.com,140.82.121.3' (ECDSA) to the list of known hosts. npm ERR! [email protected]: Permission denied (publickey). npm ERR! fatal: Impossible de lire le dépôt distant. npm ERR! npm ERR! Veuillez vérifier que vous avez les droits d'accès npm ERR! et que le dépôt existe. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-01-05T21_47_28_777Z-debug-0.log Error installing dependencies! message: Command failed: npm install --omit=dev stdout: null stderr: null /home/nodebb/nodebb/src/cli/package-install.js:138 throw e; ^ Error: Command failed: npm install --omit=dev at checkExecSyncError (node:child_process:841:11) at Object.execSync (node:child_process:912:15) at Object.pkgInstall.installAll (/home/nodebb/nodebb/src/cli/package-install.js:129:9) at Object.<anonymous> (/home/nodebb/nodebb/src/cli/index.js:51:18) at Module._compile (node:internal/modules/cjs/loader:1126:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) at Module.load (node:internal/modules/cjs/loader:1004:32) at Function.Module._load (node:internal/modules/cjs/loader:839:12) at Module.require (node:internal/modules/cjs/loader:1028:19) { status: 128, signal: null, output: [ null, null, null ], pid: 1251, stdout: null, stderr: null }
Try to remove plugins for example:
test with
npm remove [email protected]
npm remove [email protected] npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: [email protected] npm WARN Found: [email protected] npm WARN node_modules/nodebb-plugin-emoji npm WARN peer nodebb-plugin-emoji@"^4.0.0" from @nodebb/[email protected] npm WARN node_modules/@nodebb/nodebb-plugin-reactions npm WARN @nodebb/nodebb-plugin-reactions@"^1.0.2" from the root project npm WARN 2 more (nodebb-plugin-emoji-android, the root project) npm WARN npm WARN Could not resolve dependency: npm WARN peer nodebb-plugin-emoji@"^4.0.0" from @nodebb/[email protected] npm WARN node_modules/@nodebb/nodebb-plugin-reactions npm WARN @nodebb/nodebb-plugin-reactions@"^1.0.2" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: [email protected] npm WARN Found: [email protected] npm WARN node_modules/nodebb-plugin-markdown npm WARN peer nodebb-plugin-markdown@"^10.0.0" from [email protected] npm WARN node_modules/nodebb-plugin-extended-markdown npm WARN nodebb-plugin-extended-markdown@"^1.6.0" from the root project npm WARN 1 more (the root project) npm WARN npm WARN Could not resolve dependency: npm WARN peer nodebb-plugin-markdown@"^10.0.0" from [email protected] npm WARN node_modules/nodebb-plugin-extended-markdown npm WARN nodebb-plugin-extended-markdown@"^1.6.0" from the root project npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/makeusabrew/bootbox.git npm ERR! [email protected]: Permission denied (publickey). npm ERR! fatal: Impossible de lire le dépôt distant. npm ERR! npm ERR! Veuillez vérifier que vous avez les droits d'accès npm ERR! et que le dépôt existe. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-01-05T22_23_12_150Z-debug-0.log
An idea ?
-
@DownPW try this:
npm config set legacy-peer-deps true ./nodebb upgrade -mi
-
Maybe you show Alpha 3.0.0 on demo site? https://try.nodebb.org/