nodebb-plugin-markdown shows undefined value
-
Hi Team,
I have upgraded nodebb to v2.6.1 by merging with master branch from nodebb git. Also updated my npm to v9.2.0 node to v18.12.1.
After successfully ./nodebb setup , when I start it, its shows below error.2022-12-08T10:14:09.506Z [4567/30680] - error: TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')
at C:\Users\AmodChaubey\Desktop\AngelOne\Smart Forum\smart-api-forum\node_modules\nodebb-plugin-markdown\index.js:107:18
at Array.forEach (<anonymous>)
at C:\Users\AmodChaubey\Desktop\AngelOne\Smart Forum\smart-api-forum\node_modules\nodebb-plugin-markdown\index.js:105:26
at C:\Users\AmodChaubey\Desktop\AngelOne\Smart Forum\smart-api-forum\src\promisify.js:43:65
at _node_internal (node:util:291:10)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2022-12-08T10:14:09.506Z [4567/30680] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2022-12-08T10:14:09.508Z [4567/30680] - error: Error [ERR_SERVER_NOT_RUNNING]: Server is not running.
at new NodeError (node:internal/errors:393:5)
at Server.close (node:net:1827:12)
at Object.onceWrapper (node:events:627:28)
at Server.emit (node:events:525:35)
at emitCloseNT (node:net:1880:8)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21Urgently need assistance .
-
Master branch is not stable and not meant for production use. We recommend using the latest versioned branch.
How exactly did you upgrade? You say you "merged with master". Did you run
./nodebb upgrade
? Merging is not the recommended upgrade path in the first place. Why did you do it that way?