Last git pull -> error: Cannot find module '../public/src/templates'

Bug Reports
  • im getting this on the last git pull / upgrade process (0.5.2) on starting the nodebb on dev mode

    error: Cannot find module '../public/src/templates'
    Error: Cannot find module '../public/src/templates'
        at Function.Module._resolveFilename (module.js:338:15)
        at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at Object.<anonymous> (/home/forum/nodebb/node_modules/nodebb-plugin-cash/library.js:7:28)
    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)
    at require (module.js:380:17)
    at /home/forum/nodebb/src/plugins.js:190:45
    info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    error: undefined
    info: [app] Database connection closed.

    also i got some problems on the upgrade itself on the themes... but i had them before on 0.5.x beta but didnt break the forum.. so i didnt mind.

  • Looks like you'll need to uninstall the cash mod

    ./nodebb reset plugin="nodebb-plugin-cash"

  • feeling so stupid for not read the stacktrace....

  • Actually just update that plugin to 0.1.8, it's already been fixed 🙂

Suggested Topics