@Madchatthew said in TNG + Nodebb:
you have to try and use duck tape and super glue to change something to make it do what you want it to do
I couldn’t have put that better myself.
Latest v2.4.0 I upgraded today.
Always expect errors now it is a given…This is latest and do not know why. As always more chance of a reply with Sudonix. Basically my custom page stopped working.
2022-08-13T06:53:24.550Z [4567/48639] - [31merror[39m: GET /serverinfo
Error: Failed to lookup view "serverinfo" in views directory "/home/smiley/nodebb/build/public/templates"
at Function.render (/home/smiley/nodebb/node_modules/express/lib/application.js:597:17)
at ServerResponse.render (/home/smiley/nodebb/node_modules/express/lib/response.js:1039:7)
at /home/smiley/nodebb/src/middleware/render.js:107:11
at new Promise (<anonymous>)
at renderContent (/home/smiley/nodebb/src/middleware/render.js:106:10)
at renderMethod (/home/smiley/nodebb/src/middleware/render.js:75:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async ServerResponse.renderOverride [as render] (/home/smiley/nodebb/src/middleware/render.js:96:5)
2022-08-13T06:54:02.575Z [4567/48639] - [31merror[39m: GET /serverinfo
Error: Failed to lookup view "serverinfo" in views directory "/home/smiley/nodebb/build/public/templates"
at Function.render (/home/smiley/nodebb/node_modules/express/lib/application.js:597:17)
at ServerResponse.render (/home/smiley/nodebb/node_modules/express/lib/response.js:1039:7)
at /home/smiley/nodebb/src/middleware/render.js:107:11
at new Promise (<anonymous>)
at renderContent (/home/smiley/nodebb/src/middleware/render.js:106:10)
at renderMethod (/home/smiley/nodebb/src/middleware/render.js:75:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async ServerResponse.renderOverride [as render] (/home/smiley/nodebb/src/middleware/render.js:96:5)
@Sampo2910 can you try removing the custom pages extension, rebuild, then reinstall and rebuild again ?
I’ve had this happen to me before.
@phenomlab As always…Thank you.
Worked for me.