Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

"process is not defined" error in "browser-create-react-app" example #297

Open
AlexMesser opened this issue May 12, 2022 · 0 comments
Open

Comments

@AlexMesser
Copy link

I tried to add a custom swarm addresses to IPFS node:

ipfs = await create({
   config: {
   Addresses: {
      Swarm: [
          // This is a public webrtc-star server
         '/dns4/wrtc-star1.par.dwebops.pub/tcp/443/wss/p2p-webrtc-star',
         '/dns4/wrtc-star2.sjc.dwebops.pub/tcp/443/wss/p2p-webrtc-star',
      ],
   },
  }
})

And I got the error in console:

Uncaught ReferenceError: process is not defined
    at destroy.js:49:1
    at Peer._destroy (index.js:444:1)
    at Peer.destroy (destroy.js:35:1)
    at index.js:525:1

Screen Shot 2022-05-12 at 18 10 46

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

No branches or pull requests

1 participant