I installed noddy today. The first time I fired it up, I got the following error:
node app.js ~/Talisman
/home/bbs/Talisman/noddy/app.js:53
secret: talismanconfig.noddy['session secret'],
^
TypeError: Cannot read properties of undefined (reading 'session secret')
at Object.<anonymous> (/home/bbs/Talisman/noddy/app.js:53:33)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49
Node.js v18.19.0
I added the following to my talisman.ini file:
[noddy]
session secret =
I then fired it up and it seemed to start OK:
node app.js ~/Talisman
express-session deprecated req.secret; provide secret option app.js:51:9
Noddy listening at
http://localhost:3000
However, when I surfed in to check it out, I got the following error in my browser window:
Error: secret option required for sessions
at session (/home/bbs/Talisman/noddy/node_modules/express-session/index.js:204:12)
at Layer.handle [as handle_request] (/home/bbs/Talisman/noddy/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:328:13)
at /home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:346:12)
at next (/home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:280:10)
at urlencodedParser (/home/bbs/Talisman/noddy/node_modules/body- parser/lib/types/urlencoded.js:91:7)
at Layer.handle [as handle_request] (/home/bbs/Talisman/noddy/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:328:13)
at /home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:286:9
I am guessing I still need to do some extra things in my talisman.ini file. I tried to go to the
Talisman BBS website to see if there was any documentation, but it appears to be down:
Error resolving “talismanbbs.com”: Temporary failure in name resolution
Thanks!
--- SBBSecho 3.20-Linux
* Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (21:1/175)