Sudden Bizarre Error


  • Gamers

    Restarting NodeBB doesn't seem to help.

    2019-10-21T19:20:23.943Z [4567/16936] - error: /categories
    Failed to lookup view "header" in views directory "/var/www/html/community/build/public/templates" {"view":{"                                       defaultEngine":"tpl","ext":".tpl","name":"header","root":"/var/www/html/community/build/public/templates"},"s                                       tack":"Error: Failed to lookup view \"header\" in views directory \"/var/www/html/community/build/public/temp                                       lates\"\n    at Function.render (/var/www/html/community/node_modules/express/lib/application.js:580:17)\n                                           at /var/www/html/community/src/middleware/header.js:222:13\n    at nextTask (/var/www/html/community/node_mo                                       dules/async/dist/async.js:5324:14)\n    at next (/var/www/html/community/node_modules/async/dist/async.js:533                                       1:9)\n    at /var/www/html/community/node_modules/async/dist/async.js:969:16\n    at /var/www/html/community/                                       src/middleware/header.js:214:4\n    at /var/www/html/community/node_modules/async/dist/async.js:473:16\n    a                                       t next (/var/www/html/community/node_modules/async/dist/async.js:5329:29)\n    at /var/www/html/community/nod                                       e_modules/async/dist/async.js:969:16\n    at done (/var/www/html/community/src/plugins/hooks.js:95:5)"}
    Error: Failed to lookup view "header" in views directory "/var/www/html/community/build/public/templates"
        at Function.render (/var/www/html/community/node_modules/express/lib/application.js:580:17)
        at /var/www/html/community/src/middleware/header.js:222:13
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:14)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at /var/www/html/community/src/middleware/header.js:214:4
        at /var/www/html/community/node_modules/async/dist/async.js:473:16
        at next (/var/www/html/community/node_modules/async/dist/async.js:5329:29)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at done (/var/www/html/community/src/plugins/hooks.js:95:5)
    


  • Try running ./nodebb build and starting.


  • Gamers

    That seemed to work. Looks like there's a plugin causing the site to bug out.


Log in to reply
 

Suggested Topics

| |