Open mistakia opened 4 years ago
Can you try pinning the go-ipfs-dep
version to 0.4.23-3
please? It's later than 0.4.23
but npm doesn't always resolve it as such.
Really it should have been released as 0.5.0
(or preferably 1.0.0
) but for some reason people want to keep the version of that module tied to the go-ipfs
version it downloads by default.
hmm - I have since resolved the issue in an electron project by looking at the ipfs-desktop implementation, which has go-ipfs-dep
pinned at 0.4.23-3
. The only material changes I made in my project are using the same versions being used in ipfs-desktop
(go-ipfs-dep@0.4.23-3 ipfs-http-client@44.0.0 ipfsd-ctl@4.0.1
) so I'm assuming that was part of the resolution.
However, I tried running the electron example with go-ipfs-dep@0.4.23-3
and got the same error 🤷♂️
Edit: I tried the latest version (4.1.0
) of the electron example and am still getting the same error. Strange I'm not seeing this issue in any other projects lol.
I think it's because of the remote
option, you have to set it to false
.
Apparently, it should automatically be set to false
if it recognizes that it is in a node environment but does not seem to work.
Getting an error when trying to run this in an electron renderer process and running the electron example produces the same errors.
versions