Upgrade?
-
@a_5mith
Nothing.
Don't work.at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/home/antonio/nodebb/node_modules/mmmagic/index.js:3:13) 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) 3 restarts in 10 seconds, most likely an error on startup. Halting.
If i do again ./nodebb upgrade , give this error.
npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. [email protected] node_modules/nodebb-widget-essentials [email protected] node_modules/nodebb-theme-lavender [email protected] node_modules/nodebb-theme-vanilla 27/5 10:48 [30551] - info: NodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc. 27/5 10:48 [30551] - info: This program comes with ABSOLUTELY NO WARRANTY. 27/5 10:48 [30551] - info: This is free software, and you are welcome to redistribute it under certain conditions. 27/5 10:48 [30551] - info: module.js:356 Module._extensions[extension](this, filename); ^ Error: /home/antonio/nodebb/node_modules/mmmagic/build/Release/magic.node: undefined symbol: node_module_register 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 Object.<anonymous> (/home/antonio/nodebb/node_modules/mmmagic/index.js:3:13) 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)
-
@a_5mith said:
npm install mmmagic
Same error.
module.js:356 Module._extensions[extension](this, filename); ^ Error: /home/antonio/nodebb/node_modules/mmmagic/build/Release/magic.node: undefined symbol: node_module_register 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 Object.<anonymous> (/home/antonio/nodebb/node_modules/mmmagic/index.js:3:13) 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)
-
also have got the same error...
-
@Master-Antonio @wzrdtales What OS?
-
also note that npm install does not fail!
./nodebb upgrade
throws this error
-
@wzrdtales said:
also note that npm install does not fail!
./nodebb upgrade
throws this error
Please, help me. XD
-
This also only happens with v0.12.x if you downgrade to v0.10.x, then npm rebuild to rebuild the modules, do the upgrade with v0.10.x and upgrade to v0.12.x again and again npm rebuild everything works...
@julian something is completely wrong together with v0.12.x
Copyright © 2024 NodeBB | Contributors