Closed freeeflyer closed 5 years ago
It should work with Node 12. Are you running into any problems?
Yes.. I downloaded node 10 for windows.. (stable?) "npm run dist " was ok (except 2 security warnings), but when i tried to execute the resulting build, I got a message about needed version of NODE_MODULE_VERSION to 48. I then tried to build with node 6 it was not working either..
I'm trying node 12 as I type this message..
hold on..
Note that we don't test building on Windows much so hopefully it's still good :-)
Node 12 builds ok, like node 10.. But it gives the same message :
@hristoterezov Any idea?
How are you building the app?
Have you run npm install
before building the app?
I just did.. same message.
Could you please provide what are you executing the build and start the app?
Are you doing npm install; npm start
or npm run pack
?
npm install && npm run dist
This is what I get from "npm start"
[watch]
[watch] > jitsi-meet-electron@1.1.1 watch C:\Users\zagulajew\Documents\Projets\jitsi\jitsi-meet-electron
[watch] > webpack --config ./webpack.renderer.js --mode development --watch --watch-poll
[watch]
[1]
[1] App threw an error during load
[1] Error: The module '\?\C:\Users\zagulajew\Documents\Projets\jitsi\jitsi-meet-electron\node_modules\jitsi-meet-electron-utils\build\Release\sourceId2Coordinates.node'
[1] was compiled against a different Node.js version using
[1] NODE_MODULE_VERSION 48. This version of Node.js requires
[1] NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
[1] the module (for instance, using npm rebuild
or npm install
).
[1] at process.func (electron/js2c/asar.js:155:31)
[1] at process.func [as dlopen] (electron/js2c/asar.js:155:31)
[1] at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
[1] at Object.func (electron/js2c/asar.js:155:31)
[1] at Object.func [as .node] (electron/js2c/asar.js:155:31)
[1] at Module.load (internal/modules/cjs/loader.js:645:32)
[1] at Function.Module._load (internal/modules/cjs/loader.js:560:12)
[1] at Module.require (internal/modules/cjs/loader.js:685:19)
[1] at require (internal/modules/cjs/helpers.js:16:16)
[1] at Object.
Do you have any errors on npm install
?
It seems that node-gyp rebuild
from jitsi-meet-electron-utils haven't been executed or failed.
Also deleting node_modules and running again npm install
could help.
I've just reproduced the issue. Will try to come up with a fix soon. In meantime I guess you can use older version. The last 2 commits are just updating electron and there isn't any new functionalities introduced.
Hello
Also deleting node_modules and running again
npm install
could help. I started from a fresh installI've just reproduced the issue. Will try to come up with a fix soon. In meantime I guess you can use older version. The last 2 commits are just updating electron and there isn't any new functionalities introduced.
Thanks a lot for the bugfix, I will try the older version..
Nicolas
@freeeflyer We've just merged a fix into master. Could you please try again and confirm it works?
@freeeflyer We've just merged a fix into master. Could you please try again and confirm it works?
It's working. Thanks a lot
Excellent, thanks for confirming!
Hi,
building the app needs a node 6 ??
Isn't it a bit obsolete ?
Regards