@gotwf said in [nodebb-tools] CLI tools for NodeBB management:
Let us know, eh? Rock on!
Will do 🙂
@baris there is a bug in the console when upgrading
SyntaxError: await is only valid in async functions and the top level bodies of modules
at compileFunction (<anonymous>)
at Object.compileFunction (node:vm:355:18)
at wrapSafe (node:internal/modules/cjs/loader:1039:15)
at Module._compile (node:internal/modules/cjs/loader:1073:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.Plugins.requireLibrary (/home/phenomlab/nodebb/src/plugins/index.js:81:39)
@phenomlab yeah this commit broke it https://github.com/NodeBB-Community/nodebb-plugin-recent-cards/commit/ff3722e475a716116b827085aeaccad2a0c303c1 because of a missing async on renderExternal @baris
This is the reason...
NOW
Image Credit: @phenomlab
Absolutely brilliant @baris, the difference is clear
PREVIOUSLY