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
The @obolnetwork/obol-sdk package is throwing an error related to crypto.getRandomValues() not being supported when used within the obol-sdk-examples/JS-Example. This error prevents the SDK's proper function and could indicate a compatibility issue with the version of Node.js being used or a misconfiguration in the SDK itself.
/obol-sdk-examples/JS-Example/node_modules/@obolnetwork/obol-sdk/dist/index.js:17
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
^
Error: crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported
at rng (/Users/sg/obol/obolnetwork/staging/obol-sdk-examples/JS-Example/node_modules/@obolnetwork/obol-sdk/dist/index.js:17:13)
at v4 (/Users/sg/obol/obolnetwork/staging/obol-sdk-examples/JS-Example/node_modules/@obolnetwork/obol-sdk/dist/index.js:52:54)
at Client.createClusterDefinition (/Users/sg/obol/obolnetwork/staging/obol-sdk-examples/JS-Example/node_modules/@obolnetwork/obol-sdk/dist/index.js:15477:19)
at file:///Users/sg/obol/obolnetwork/staging/obol-sdk-examples/JS-Example/index.js:141:31
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
Node.js v18.17.1
The text was updated successfully, but these errors were encountered:
🎯 Problem to be solved
The
@obolnetwork/obol-sdk
package is throwing an error related tocrypto.getRandomValues()
not being supported when used within theobol-sdk-examples/JS-Example
. This error prevents the SDK's proper function and could indicate a compatibility issue with the version of Node.js being used or a misconfiguration in the SDK itself.The text was updated successfully, but these errors were encountered: