[Solved] Can't start NodeBB, templates.js is missing
-
Get this error
PS C:\wamp\www\Github\NodeBB> node app info: NodeBB v0.4.3 Copyright (C) 2013-2014 NodeBB Inc. info: This program comes with ABSOLUTELY NO WARRANTY. info: This is free software, and you are welcome to redistribute it under certain conditions. info: info: Time: Sun Jun 29 2014 23:22:42 GMT+0200 (Paris, Madrid (heure d'été)) info: Initializing NodeBB v0.4.3 info: * using configuration stored in: C:\wamp\www\Github\NodeBB\config.json info: * using redis store at 127.0.0.1:6379 info: * using themes stored in: C:\wamp\www\Github\NodeBB\node_modules module.js:340 throw err; ^ Error: Cannot find module 'templates.js' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (C:\wamp\www\Github\NodeBB\src\emailer.js:7:14) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)
The file seems to be in
NodeBB/public/src/templates.js
I've pulled the last version and I'm up-to-date.
Copyright © 2025 NodeBB | Contributors