Problem whit nodebb on Ubuntu 16.04 LTS

Solved Technical Support
  • This post is deleted!
  • Ill wait. maybe someone here has a solution

  • It looks like perhaps not all of your dependencies are installed. Try npm i --production again please

  • @julian said in Problem whit nodebb on Ubuntu 16.04 LTS:

    npm i --production

    Still the same error

    NodeBB v1.6.1 Copyright (C) 2013-2014 NodeBB Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html

    Clustering enabled: Spinning up 1 process(es).

    31/10 09:51:19 [14470] - info: Initializing NodeBB v1.6.1 http://localhost:4567
    31/10 09:51:21 [14470] - error: Error: Cannot find module 'lodash.escaperegexp'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/nodebb/node_modules/sanitize-html/index.js:3:19)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/nodebb/src/admin/search.js:6:20)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    31/10 09:51:21 [14470] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    31/10 09:51:21 [14470] - info: [app] Database connection closed.
    31/10 09:51:21 [14470] - info: [app] Web server closed to connections.
    31/10 09:51:21 [14470] - info: [app] Shutdown complete.
    [cluster] Child Process (14470) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    31/10 09:51:22 [14488] - info: Initializing NodeBB v1.6.1 http://localhost:4567
    31/10 09:51:23 [14488] - error: Error: Cannot find module 'lodash.escaperegexp'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/nodebb/node_modules/sanitize-html/index.js:3:19)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/nodebb/src/admin/search.js:6:20)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    31/10 09:51:23 [14488] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    31/10 09:51:23 [14488] - info: [app] Database connection closed.
    31/10 09:51:23 [14488] - info: [app] Web server closed to connections.
    31/10 09:51:23 [14488] - info: [app] Shutdown complete.
    [cluster] Child Process (14488) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    31/10 09:51:24 [14499] - info: Initializing NodeBB v1.6.1 http://localhost:4567
    31/10 09:51:25 [14499] - error: Error: Cannot find module 'lodash.escaperegexp'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/nodebb/node_modules/sanitize-html/index.js:3:19)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/nodebb/src/admin/search.js:6:20)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    31/10 09:51:25 [14499] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    31/10 09:51:25 [14499] - info: [app] Database connection closed.
    31/10 09:51:25 [14499] - info: [app] Web server closed to connections.
    31/10 09:51:25 [14499] - info: [app] Shutdown complete.
    [cluster] Child Process (14499) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    31/10 09:51:26 [14510] - info: Initializing NodeBB v1.6.1 http://localhost:4567
    31/10 09:51:28 [14510] - error: Error: Cannot find module 'lodash.escaperegexp'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/nodebb/node_modules/sanitize-html/index.js:3:19)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/nodebb/src/admin/search.js:6:20)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    31/10 09:51:28 [14510] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    31/10 09:51:28 [14510] - info: [app] Database connection closed.
    31/10 09:51:28 [14510] - info: [app] Web server closed to connections.
    31/10 09:51:28 [14510] - info: [app] Shutdown complete.
    3 restarts in 10 seconds, most likely an error on startup. Halting.

  • #Push

    (I hope thats allowed)

  • @aStonedDog I'll allow it 😄 though maybe wait a day or so next time.

    Anyhow, is it possible for you to completely nuke node_modules/ and npm i --production again?

    You could also try using yarn instead of npm. No particular preference for one over the other, just a drop-in replacement.

  • i got it. just tryed it on CentOS7 and it works fine. but is there a possibility. that users can just login whit theyr steamaccount ad disable normal registration ?

  • Yes, you can install the steam SSO plugin and disable regular user registration

  • where ? i didnt find it


Suggested Topics