-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump and pin dependencies per-release #478
Comments
Any one can help me ? sos~~~~ |
If you need it SOS this fork is actually functional in Electron but about 50 commits behind ~HEAD. You can git link it your npm package and should work. |
I solved my problem by spcify spcific version of related modules |
I have just released a new version of ABJS, kindly test it and provide feedback if it fixes the electron issue. |
Thanks, this works with electron >= 4.0.0 but produces the same error on older electron versions. In this case, this is caused by the cbor dependency increased the minimum required Node.js version in its latest stable version, which older electrons do not support. This would not be a problem in itself, they follow semver. The problem is that autobahn only sets a minimum version requirement in the package.json. (>=) This causes all clients to install the latest stable version of the dependency. And there is no guarantee that the latest stable version of the dependency Node.js requirement is in line with the specific electron Node.js version. As a possible long term solution: Can we fixate the concrete versions for the dependencies? Instead of cbor >= 3.0.0 cbor 3.0.0 etc. ( Same holds true for other dependencies ) This would make autobahn much more stable in electron in the long run. Created a test repo to illustrate the problem here. You can change the electron version and see how it behaves differently. |
ok, right. how about this?
electron is at version 7.0 .. 4.0 seems quite old |
Sounds great!
Electron changed its versioning system about a year ago. Now they strictly follow semver. In my experience, it's really common that projects are using older electron versions. Changing the major version of big electron application requires quite lot of work. Both the Node.js runtime and the Chrome version changes and potential dependency incompatibilities might arise. Most of the time cost - benefit ratio does not justify the upgrade. |
alright, then we'll do that. changing issue label to enhancement ..
thanks for explaining! understood & agreed |
Codes under work well some times before, but never worknow :
try { autobahn = require('autobahn'); } catch (e) { console.log("wamp_orbital.js.connectServer exception = " +e); return; }
Exception occurs:
Since I didn't meet such errors before, and I didn't change any code, maybe there is some difference in node-version or Electron-version, but I forgot corrent ones.
Anyone met the same problem as me?
The text was updated successfully, but these errors were encountered: