Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

SgtPooki
Copy link
Contributor

feat: run helia-101 with Deno

Currently failing:

error: Uncaught (in promise) Error: Not implemented: jwk private key export not implemented
    at notImplemented (ext:deno_node/_utils.ts:9:9)
    at PrivateKeyObject.export (ext:deno_node/internal/crypto/keys.ts:450:7)
    at generateKeyPairSync (ext:deno_node/internal/crypto/keygen.ts:74:37)
    at Module.generateKey (file:///Users/sgtpooki/code/work/ipshipyard/ipfs-examples/helia-examples/node_modules/.deno/@[email protected]/node_modules/@libp2p/crypto/dist/src/keys/ed25519/index.js:31:17)
    at generateEd25519KeyPair (file:///Users/sgtpooki/code/work/ipshipyard/ipfs-examples/helia-examples/node_modules/.deno/@[email protected]/node_modules/@libp2p/crypto/dist/src/keys/ed25519/utils.js:22:46)
    at generateKeyPair (file:///Users/sgtpooki/code/work/ipshipyard/ipfs-examples/helia-examples/node_modules/.deno/@[email protected]/node_modules/@libp2p/crypto/dist/src/keys/index.js:19:16)
    at createLibp2p (file:///Users/sgtpooki/code/work/ipshipyard/ipfs-examples/helia-examples/node_modules/.deno/[email protected]/node_modules/helia/dist/src/utils/libp2p.js:24:38)
    at async createHelia (file:///Users/sgtpooki/code/work/ipshipyard/ipfs-examples/helia-examples/node_modules/.deno/[email protected]/node_modules/helia/dist/src/index.js:40:18)
    at async file:///Users/sgtpooki/code/work/ipshipyard/ipfs-examples/helia-examples/examples/helia-101/201-storage.js:16:15
error: Uncaught (in promise) Error: Did not see "Added file contents: Hello World 201" in output from "deno --allow-env --allow-sys --allow-ffi /Users/sgtpooki/code/work/ipshipyard/ipfs-examples/helia-examples/examples/helia-101/201-storage.js"
    at waitForOutput (file:///Users/sgtpooki/code/work/ipshipyard/ipfs-examples/helia-examples/node_modules/.deno/[email protected]/node_modules/test-ipfs-example/dist/src/node/wait-for-output.js:47:15)
    at eventLoopTick (ext:core/01_core.js:175:7)
    at async file:///Users/sgtpooki/code/work/ipshipyard/ipfs-examples/helia-examples/examples/helia-101/test/index.spec.js:21:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant