@fortunato I forgot to say that this error doesn't show up when creating a new topic and sometimes it works also in replies. The error in the NodeBB UI is the following: "stream ended unexpectedly"
I upgraded my nodebb forum from 1.13.2 to 1.14.2 after the update instructions from nodebb :
I followed the instructions closely.
When I do ./nodebb start and then ./nodebb log I am getting the following error:
./nodebb start ./nodebb log [cluster] Child Process (27282) has exited (code: 0, signal: null) NodeBB v1.14.2 Copyright (C) 2013-2014 NodeBB Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. For the full license, please visit: http://www.gnu.org/copyleft/gpl.html Clustering enabled: Spinning up 1 process(es). 2020-07-30T19:09:15.630Z [4567/27471] - info: Initializing NodeBB v1.14.2 2020-07-30T19:09:19.657Z [4567/27471] - error: TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function at Object.promisify (internal/util.js:214:11) at Object.<anonymous> (/opt/nodebb/node_modules/sitemap/dist/lib/sitemap-simple.js:11:25) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (/opt/nodebb/node_modules/sitemap/dist/index.js:42:24) [cluster] Child Process (27471) has exited (code: 0, signal: null)
Could somebody please enlighten me.
I have no idea why this error appears now. It did not in 1.13.2.
I tried to rename the npm module "sitemap" to "__sitemap"
but then nodebb is missing the folder ...
Stupid idea - I know - but I thought I could give it a try, before writing here
What do you get when you run
npm ls sitemap
Works fine for me on 6.2.0, what about your nodejs version?
node -v v8.17.0
Try with 10.x or higher.
You made my day!
I think I need to take more care of the versions ...
Is there any chance I can buy you a coffee or a beer,
to value your work?
@tecy No need