Hexo China Decentralizing

【新手提问】使用Hydrogen扩展时报错


#1

Error: The module ‘\?\C:\Users\root.atom\packages\Hydrogen\node_modules_zeromq@5.2.0@zeromq\build\Release\zmq.node’

was compiled against a different Node.js version using

NODE_MODULE_VERSION 72. This version of Node.js requires

NODE_MODULE_VERSION 69. Please try re-compiling or re-installing

the module (for instance, using npm rebuild or npm install).

at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)

at Object.Module._extensions…node (internal/modules/cjs/loader.js:722:18)

at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:160:31)

at Module.load (internal/modules/cjs/loader.js:602:32)

at tryModuleLoad (internal/modules/cjs/loader.js:541:12)

at Function.Module._load (internal/modules/cjs/loader.js:533:3)

at Module.require (file:///C:/Users/root/AppData/Local/atom/app-1.43.0/resources/app.asar/static/index.js:72:46)

at require (C:\Users\root\AppData\Local\atom\app-1.43.0\resources\app\static<embedded>:11:146745)

at Object.<anonymous> (C:\Users\root.atom\packages\Hydrogen\node_modules_zeromq@5.2.0@zeromq\lib\index.js:6:11)

at Object.<anonymous> (C:\Users\root.atom\packages\Hydrogen\node_modules_zeromq@5.2.0@zeromq\lib\index.js:857:3)

at Module.get_Module._compile (C:\Users\root\AppData\Local\atom\app-1.43.0\resources\app\static&lt;embedded>:11:147429)

at Object.value [as .js] (C:\Users\root\AppData\Local\atom\app-1.43.0\resources\app\static&lt;embedded>:11:150977)

at Module.load (internal/modules/cjs/loader.js:602:32)

at tryModuleLoad (internal/modules/cjs/loader.js:541:12)

at Function.Module._load (internal/modules/cjs/loader.js:533:3)

at Module.require (file:///C:/Users/root/AppData/Local/atom/app-1.43.0/resources/app.asar/static/index.js:72:46)

at require (C:\Users\root\AppData\Local\atom\app-1.43.0\resources\app\static&lt;embedded>:11:146745)

at Object.<anonymous> (C:\Users\root.atom\packages\Hydrogen\node_modules_zeromq@5.2.0@zeromq\index.js:2:18)

at Object.<anonymous> (C:\Users\root.atom\packages\Hydrogen\node_modules_zeromq@5.2.0@zeromq\index.js:3:3)

at Module.get_Module._compile (C:\Users\root\AppData\Local\atom\app-1.43.0\resources\app\static&lt;embedded>:11:147429)

at Object.value [as .js] (C:\Users\root\AppData\Local\atom\app-1.43.0\resources\app\static&lt;embedded>:11:150977)

at Module.load (internal/modules/cjs/loader.js:602:32)

at tryModuleLoad (internal/modules/cjs/loader.js:541:12)

at Function.Module._load (internal/modules/cjs/loader.js:533:3)

at Module.require (file:///C:/Users/root/AppData/Local/atom/app-1.43.0/resources/app.asar/static/index.js:72:46)

at require (C:\Users\root\AppData\Local\atom\app-1.43.0\resources\app\static&lt;embedded>:11:146745)

at Object.<anonymous> (C:\Users\root.atom\packages\Hydrogen\node_modules_jmp@2.0.0@jmp\index.js:37:11)

at Object.<anonymous> (C:\Users\root.atom\packages\Hydrogen\node_modules_jmp@2.0.0@jmp\index.js:450:3)

at Module.get_Module._compile (C:\Users\root\AppData\Local\atom\app-1.43.0\resources\app\static&lt;embedded>:11:147429)

at Object.value [as .js] (C:\Users\root\AppData\Local\atom\app-1.43.0\resources\app\static&lt;embedded>:11:150977)