You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
I have a test project using Nym mix-fetch with NodeJS.
With Node v18.9.0 it works fine, with Node V20 (LTS release) I get a stacktrace
Expected behaviour
Node v20 should work, as it's the LTS release, just as it does with Node v18.
Stack Traces
I get the following error with Node v20 (LTS), it works fine with Node v18 (previous LTS):
TypeError: Cannot set property crypto of #<Object> which has only a getter
at /src/demo-nym/backend/node_modules/.pnpm/@[email protected]/node_modules/@nymproject/mix-fetch-node-commonjs/web-worker-0.js:14481:20
at Object.<anonymous> (node_modules/.pnpm/@[email protected]/node_modules/@nymproject/mix-fetch-node-commonjs/web-worker-0.js:17882:3)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at MessagePort.<anonymous> (node:internal/main/worker_thread:185:26)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:814:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28)
Yes, we're aware of this, and we will look to fix this in the near future, but in the interim we suggest using v18.*, we're scoping out the roadmap to allocate more dev time to the SDK shortly
Describe the issue
I have a test project using Nym mix-fetch with NodeJS.
With Node v18.9.0 it works fine, with Node V20 (LTS release) I get a stacktrace
Expected behaviour
Node v20 should work, as it's the LTS release, just as it does with Node v18.
Stack Traces
I get the following error with Node v20 (LTS), it works fine with Node v18 (previous LTS):
Steps to Reproduce
https://gist.github.com/CedarMist/611a54a2a6ea3377278ec4b4167b5fd8
The text was updated successfully, but these errors were encountered: