jbilcke / latent-browser

Latent web browser
https://linktr.ee/FLNGR
MIT License
259 stars 18 forks source link

Error when trying to run #6

Closed gragland closed 1 year ago

gragland commented 1 year ago

After installing dependencies and trying to run I'm getting the following error:

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/interface/rust.rs:762:69
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Any idea what it might be?

jbilcke commented 1 year ago

Hello @gragland !

This is a tough one as I never saw this error, and I am not a Rust expert *.

As a solution and workaround, I suggest you try to run the app in pure web mode (I'm going to put that in the new README, it will be simpler for everyone until things are stabilized):

yarn dev

And open it in a conventional browser. We can keep this issue open until someone finds a proposer solution to this

* I'm using Tauri for performance reasons (Tauri generates lightweight ~8 Mb app builds) as an alternative to Electron, but actually I am not a Rust expert myself, I only wrote what's in /src (TypeScript) and not /src-tauri (Rust)

jbilcke commented 1 year ago

I have updated the README to explain the 3 alternatives: https://github.com/jbilcke/web4#running-the-app

gragland commented 1 year ago

Turns out it was because I don't have Rust installed on my M1.. Using yarn dev did the trick though! Thanks for the help and awesome project.

jbilcke commented 1 year ago

@gragland don't forget to check the latest version (I've just pushed to main)

is it much better (tabs, better progression follow-up etc) 🙂

https://twitter.com/flngr/status/1608814377813299200

note: I upgrade the project to Yarn 3.3, so you may have a bit of setup to do (if you try to just re-run yarn I think it should work)

gragland commented 1 year ago

Thanks, new version is working great 🙌