at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at new NodeError (node:internal/errors:405:5)
at new URL (node:internal/url:676:13)
at wasm_default (/node_modules/fr32-sha2-256-trunc254-padded-binary-tree-multihash/gen/wasm.js:259:17)
at Object. (/node_modules/fr32-sha2-256-trunc254-padded-binary-tree-multihash/src/async.js:6:13)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at _tryRequireFile (/node_modules/serverless-offline/src/lambda/handler-runner/in-process-runner/aws-lambda-ric/UserFunction.js:209:35)
at _tryRequire (/node_modules/serverless-offline/src/lambda/handler-runner/in-process-runner/aws-lambda-ric/UserFunction.js:269:23)
at _loadUserApp (/node_modules/serverless-offline/src/lambda/handler-runner/in-process-runner/aws-lambda-ric/UserFunction.js:304:20)
at module.exports.load (/node_modules/serverless-offline/src/lambda/handler-runner/in-process-runner/aws-lambda-ric/UserFunction.js:341:27)
at InProcessRunner.run (file:///node_modules/serverless-offline/src/lambda/handler-runner/in-process-runner/InProcessRunner.js:41:27)
at MessagePort. (file:///node_modules/serverless-offline/src/lambda/handler-runner/worker-thread-runner/workerThreadHelper.js:24:36)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28)
Issues while creating a client with:
Stack of actions taken to create the client (following the guides):
1-
w3 key create
2- Login with
w3 login email@example.com
3-
w3 delegation create did:key:XXXX --can 'store/*' --can 'upload/*' --base64
Uncaught exception
Environment: linux, node 18.19.0, framework 3.38.0 (local), plugin 7.2.0, SDK 4.5.1 Docs: docs.serverless.com Support: forum.serverless.com Bugs: github.com/serverless/serverless/issues
Error: TypeError [ERR_INVALID_URL]: Invalid URL