首先我是想做一个 python 的 gui,但是 pyqt 太麻烦而且界面很丑。。
看上了 electron,最近用的好多软件都基于它而且界面很好看。。
现在问题来了。。我想 把三个合起来的时候出现了我不知道咋解决的问题。。
Uncaught Error: The module '/Users/c/Demo/demo_electron-vue/node_modules/zeromq/build/Release/zmq.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 54. 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:173:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Users/c/Demo/demo_electron-vue/node_modules/zeromq/lib/index.js:6:11)
at Object. (/Users/c/Demo/demo_electron-vue/node_modules/zeromq/lib/index.js:840:3)