Problem whit nodebb on Ubuntu 16.04 LTS
-
Ill wait. maybe someone here has a solution
-
@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.htmlClustering enabled: Spinning up 1 process(es).
31/10 09:51:19 [14470] - [32minfo[39m: Initializing NodeBB v1.6.1 http://localhost:4567
31/10 09:51:21 [14470] - [31merror[39m: 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] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
31/10 09:51:21 [14470] - [32minfo[39m: [app] Database connection closed.
31/10 09:51:21 [14470] - [32minfo[39m: [app] Web server closed to connections.
31/10 09:51:21 [14470] - [32minfo[39m: [app] Shutdown complete.
[cluster] Child Process (14470) has exited (code: 1, signal: null)
[cluster] Spinning up another process...
31/10 09:51:22 [14488] - [32minfo[39m: Initializing NodeBB v1.6.1 http://localhost:4567
31/10 09:51:23 [14488] - [31merror[39m: 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] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
31/10 09:51:23 [14488] - [32minfo[39m: [app] Database connection closed.
31/10 09:51:23 [14488] - [32minfo[39m: [app] Web server closed to connections.
31/10 09:51:23 [14488] - [32minfo[39m: [app] Shutdown complete.
[cluster] Child Process (14488) has exited (code: 1, signal: null)
[cluster] Spinning up another process...
31/10 09:51:24 [14499] - [32minfo[39m: Initializing NodeBB v1.6.1 http://localhost:4567
31/10 09:51:25 [14499] - [31merror[39m: 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] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
31/10 09:51:25 [14499] - [32minfo[39m: [app] Database connection closed.
31/10 09:51:25 [14499] - [32minfo[39m: [app] Web server closed to connections.
31/10 09:51:25 [14499] - [32minfo[39m: [app] Shutdown complete.
[cluster] Child Process (14499) has exited (code: 1, signal: null)
[cluster] Spinning up another process...
31/10 09:51:26 [14510] - [32minfo[39m: Initializing NodeBB v1.6.1 http://localhost:4567
31/10 09:51:28 [14510] - [31merror[39m: 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] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
31/10 09:51:28 [14510] - [32minfo[39m: [app] Database connection closed.
31/10 09:51:28 [14510] - [32minfo[39m: [app] Web server closed to connections.
31/10 09:51:28 [14510] - [32minfo[39m: [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/
andnpm i --production
again?You could also try using
yarn
instead ofnpm
. 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 ?
-
where ? i didnt find it