This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
OperationError: The operation failed for an operation-specific reason (anonymous function): Gnome Epiphany & Tauri #4266
Labels
help wanted
Seeking public contribution on this issue
need/analysis
Needs further analysis before proceeding
Version:
npm ipfs v^0.65.0
Platform:
Linux pop-os 6.0.6-76060006-generic #202210290932
166906205022.04~d94609a SMP PREEMPT_DYNAMIC Mon N x86_64 x86_64 x86_64 GNU/LinuxSubsystem:
ipfs & ipfs-core
Severity:
medium
Description:
Error creating a js-ipfs (ipfs & ipfs-core) node in a Tauri project.
I started by trying to get js-ipfs working with a build of my Nuxt 3 app using Tauri (Rust counterpart of Electron). It produced a non-descriptive error so I tested a plain TS implementation using the template produced with
yarn create tauri-app
and got a different non-descriptive error, similar to the one mentioned in issue #3878, but much longer, you can find the repo I used herePrior to this issue I opened one in the Tauri repo here
After someone on their team explained a bit, and pointed me in the direction of #3878, I tried
create(options)
with all 3 options passed tooptions.init.algorithm
; 'Ed25519', 'RSA', secp256k1'. No luck.Steps to reproduce the error:
Clone my linked repo, cd into it, and:
Open link in the Epiphany browser. Or wait a little longer for Tauri, you may need to install Tauri and rust deps, to compile it and run:
Clicking the "Init IPFS" button tries running the
create()
function which causes the error.Do you think this is a problem with Epiphany or with WebKitGTK? The ipfs node is created fine when yarn dev is output in any other desktop browser I've tested except Epiphany(which is what Tauri uses for display). Is there a work around usable through js-ipfs or should I take this to the webkitgtk repo?
I know support for the Epiphany browser is probably not high on anyone's priority list, can't imagine many people use it as a daily driver, but compatibility could be useful for building IPFS desktop/mobile apps with tauri.
The text was updated successfully, but these errors were encountered: