-
Notifications
You must be signed in to change notification settings - Fork 8
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
Node 16 problems? #326
Comments
This change fixed it: const validate2 = require('ssb-validate2')
// const validate2 =
// typeof localStorage === 'undefined' || localStorage === null
// ? require('ssb-validate2-rsjs-node')
// : require('ssb-validate2')
|
@mycognosist might now :) |
Challenging my memory over here ':) The code shown in @mixmix's fix is used to determine the runtime environment and pull in the appropriate package (are we running in the browser or in node?). Now I see that Electron is not currently supported by ssb-validate2-rsjs-node (ssbc/ssb-validate2-rsjs-node#13). |
I know I had trouble with this part in the past require('ssb-validate2-rsjs-node') Something about a rust-based dependency being used on an m1 architecture mac. Likewise I think I fixed it by changing to the pure node version -- |
Outdated now with [email protected] |
I was trying to use
ssb-db2
in my updatedssb-ahoy
launcher, and got this error:This is the current latest
electron
which internally runs Node 16.The text was updated successfully, but these errors were encountered: