Hello! I was in the middle of making adjustments to my custom theme's LESS files, when all of a sudden, restarting Nodebb failed and I can't seem to start it. My nodebb logs say,
Error: Cannot find module '/var/www/html/forum/nodebb/node_modules/nodebb-theme-mine/less/app.js'
at Function.Module._resolveFilename (module.js:472:15)
at Function.Module._load (module.js:420:25)
at Module.runMain (module.js:607:10)
at run (bootstrap_node.js:382:7)
at startup (bootstrap_node.js:137:9)
at bootstrap_node.js:497:3
3 restarts in 10 seconds, most likely an error on startup. Halting.
When I attempt to start nodebb, it hangs with the following output:
[email protected]:/var/www/html/forum/nodebb/node_modules/nodebb-theme-mine/less# /var/www/html/forum/nodebb/nodebb start
Starting NodeBB
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
"./nodebb restart" to restart NodeBB
[email protected]:/var/www/html/forum/nodebb/node_modules/nodebb-theme-mine/less# (node:17963) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
At first, I thought perhaps it was an error in my LESS file, and in fact I did find and correct an error, but it didn't fix the problem. Any suggestions?
Thanks,
Bret