-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Rust package build failing when trying "tauri dev" #3701
Comments
You need to install the system dependencies listed here. |
Have installed Already have NodeJS installed (although not sure if installed from official NodeJS or from nvm). Have upgraded my old (but already installed) Rustc and Cargo.
This isn't a issue in the repo, but in the docs; specifically this part:
I copied it and pasted, but Bash have read only
When trying
How to fix the |
On debian11 the package |
We're currently working to expose the Ayatana appindicator in tauri. |
@jaques-sam you can add Debian 10 to your source list, see #2647 |
to fix the libsoup2.4-dev issue try this " sudo apt install libsoup2.4-dev |
Did you mean https://tauri.app/v1/guides/getting-started/prerequisites ? |
that's the new location of the docs Lucas linked back then, correct. |
It's worked for me Edit by @FabianLars: These are the requirements for tauri v2! For v1 see the other comments above. |
based on comment tauri-apps/tauri#3701 (comment)
* refactor: wipe and rewrite all for new engine * refactor: example cli runs. metadata is good but need to rework raw parsing * refactor: continue rewrite * refactor: finish creature parsing rewrite * chore: clear clippy warnings * fix: remove unused dependencies * fix: add missing tags * feat; handle copy_tags_from * fix: with progress response * feat: add rs-ts * refactor: continue rewrite * refactor: continue rewrite * change: use formatting for rs-ts * docs: update readme and remove old type file * feat: add plant_growths * fix: use default pattern for module info file * feat: add options struct for passing options to parser * chore: disable clippy::must_use_candidate * chore: allow clippy::must_use_candidate * feat: plant parsing * fix: remove formatting from rs-ts * feat: add shrub details for plant * feat: add plant seed * feat: handle plant materials * feat: add inorganic parsing * fix: plant raws serializing empties * feat: add temperature and state names * feat: parse material templates * fix: respect parser options * feat: add syndromes * chore: update bindings * chore: add helper script to update bindings * feat: update tauri_lib with new logic * feat: update cli and tauri_lib for new logic * fix: make sure cli works and update examples * chore: update bindings * fix: improve library methods * feat: add first-pass graphics and other utility * fix: graphic parsing includes layers * chore: update bindings * feat: add TilePage parsing * fix: improve graphic parsing * fix: improve graphic parsing * chore: update bindings * ci: update tauri dependencies * ci: update clippy check * ci: fix clippy check * ci: fix formatting * ci: add libsoup-3.0 dependency for tauri dependency soup3 * ci: add additional `soup3` dependency * ci: add tauri v2 requirements based on comment tauri-apps/tauri#3701 (comment) * feat(tauri): return objects instead of json string Tauri handles serde serialization automatically. * feat: some changes to help enable + Send + Sync * fix: expose names * fix: expose graphics * ci: add a step to verify type bindings * ci: prettier bindings * feat: parse syndromes and other material properties * fix: remove liquid density * feat: handle more tokens * feat: more tokens * chore: update bindings * feat: implement search string generation * chore: remove boilerplate * feat: expose build_search_string * chore: update bindings * feat: impl Searchable as part of RawObject * feat: expose name on raw object for sorting * fix: page number - 1 * fix: less verbose logs * dev: add launch config for debug * fix: correct the parsing logic * chore: update logging messages * fix: caste and creature are together * fix: hopefully final change for creature caste * feat: add entity object * feat: add remaining entity fields and parsing * feat: actually add entity parsing * fix: handle creature tags on entity * fix: add entity to clone raw object box * fix: entity wasn't getting updated * feat: add Position raw under Entity * feat: improved turnaround on non-supported raw files * chore: update bindings * feat: add convenience functions to creature * fix: expose DoesNotExist * feat: expose all tile pages used * fix: check parse_graphics for graphics go-ahead * fix: guard against page number 0 * feat: expose location on metadata * chore: set tauri back to stable before merge --------- Co-authored-by: Nicholas Westerhausen <[email protected]>
It's worked for me |
Note on ubuntu (at least, GH Actions'
Then it still doesn't work because:
|
If you append -0 it will install the runtime package but to build the app you will need the development packages that have the -dev suffix instead of -0. The To be extra clear, the most correct name on ubuntu is |
I am using github codspaces that uses Ubuntu 20 LTS for tauri v1 and am getting this error:
Similar error if I do
I did Any ideas? What a pain |
If you want to develop for tauri v1 (which you said) then you want to install webkitgtk 4.0 not 4.1 If you want to develop for v2 then you need Ubuntu 22.04 or above for 4.1 |
That fixed the erorr, I installed webgitktk 4 with Now I get the error Is it feasible to do tauri developement over ssh? |
If you meet this in Ubuntu24, unfortunately, it does not have the libwebkit2gtk-4.0-dev package yet, see this link in the official repository. |
Workaround in this issue #9662
|
Describe the bug
Output:
Even more details:
Reproduction
No response
Expected behavior
No response
Platform and versions
❯ cargo tauri info Operating System - Ubuntu, version 20.04 X64 Node.js environment Node.js - 14.17.3 @tauri-apps/cli - 1.0.0-rc.6 @tauri-apps/api - 1.0.0-rc.2 Global packages npm - 7.19.1 pnpm - Not installed yarn - 1.22.10 Rust environment rustup - 1.24.3 rustc - 1.59.0 cargo - 1.59.0 toolchain - stable-x86_64-unknown-linux-gnu App directory structure /node_modules /dist /src-tauri App tauri - 1.0.0-rc.4 tauri-build - 1.0.0-rc.4 tao - 0.6.4 wry - 0.13.3 build-type - bundle CSP - unset distDir - ../dist devPath - ../dist
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: