-
-
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] failed to bundle project: error running appimage.sh #5781
Comments
Please re-run it with the verbose flag; |
Hello, thanks for your help, i might know what's causing the problem: Incomplete file download for
|
Try deleting the |
Same error, may related to this: When I commented out the ln commands in target/release/bundle/appimage/build_appimage.sh, it succeeded, but fails the next time I run the build. The -f might help? ln -s -f "usr/share/icons/hicolor/256x256@2/apps/tauri-app.png" "tauri-app.png" |
In my case librsvg library was missing:
I had to install it using Ubuntu package manager:
BR, |
Has anyone solved this error on Arch Linux?
|
The thing tries to find
But of course its best to find the 72 version binaries somewhere so it wouldn't SIGSEGV or anything, but y'know, for now it works... |
No more error info after |
@larryteal if you use npm there needs to be an extra |
Thank You @FabianLars . I build my APP on jetson nano, is ARMv8 system.
I have add my user to ssl-cert group and root group, but still
|
@larryteal Then you're hitting this one: #4174 - no arm support for appimages yet. |
I also got the same error message "Error failed to bundle project: error running appimage.sh". but the reason might be different. ✔ Browser application bundle generation complete.
+ TRAY_LIBRARY_PATH=0
+ '[' x86_64 == i686 ']'
+ linuxdeploy_arch=x86_64
+ wget -q -4 -N https://raw.githubusercontent.com/tauri-apps/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
Error [tauri_cli_node] failed to bundle project: error running appimage.sh $ wget -v -4 -N https://raw.githubusercontent.com/tauri-apps/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
--2023-08-22 14:23:35-- https://raw.githubusercontent.com/tauri-apps/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 0.0.0.0
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused. Is it possible to move the dependant scripts be moved into a Rust crate instead of getting them from internet runtime and show explicit error message instead of a general error message? |
another reason for me "Permission denied: "/usr/bin/sentinelctl" : (simple quick start project without updates)
|
to avoid this kind of problem I now use Tauri Github actions https://tauri.app/v1/guides/building/cross-platform/#example-workflow |
I found a blessed soul was maintaining https://aur.archlinux.org/packages/icu72-bin. That resolves it. But you end up with another one: ERROR: Could not find dependency: libavif.so.15
ERROR: Failed to deploy dependencies for existing files
Error [tauri_cli_node] failed to bundle project: error running appimage.sh
error: script "tauri" exited with code 1 (SIGHUP) This one is weird, as I already have the library: $ pacman -F libavif.so.15
extra/libavif 0.11.1-1 [installed: 1.0.1-2]
usr/lib/libavif.so.15 |
I have this problem on Ubuntu WSL2
Even though the package is installed /usr/lib/x86_64-linux-gnu $ ls | grep libwebkit2gtk-4.0
libwebkit2gtk-4.0.so
libwebkit2gtk-4.0.so.37
libwebkit2gtk-4.0.so.37.57.9 ~ $ pkg-config --cflags --libs webkit2gtk-4.0
-pthread -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/webkitgtk-4.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -L/usr/lib/x86_64-linux-gnu -lwebkit2gtk-4.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lsoup-2.4 -lgio-2.0 -ljavascriptcoregtk-4.0 -lgobject-2.0 -lglib-2.0 ~ $ echo $PKG_CONFIG_PATH
/usr/lib/x86_64-linux-gnu/pkgconfig/:/usr/share/pkgconfig/ |
$ sudo ln -s /usr/lib/libavif.so.16 /usr/lib/libavif.so.15
Symlinking works, thanks! Yeah that's true. For those looking to temporally disable AppImage build you can change "targets": ["deb", "nsis", "msi", "app", "dmg", "updater"], Ref: https://tauri.app/v1/guides/building/linux#prerequisites |
Oddly enough, for me I ran into the following issue which is pretty wsl exclusive I guess...
I don't strictly know why, but right at the end it tries to go to the AppData folder of the systemprofile. Not sure how to get around this in wsl, doesn't happen in my build pipeline (github action) or on my personal system (runs linux natively) |
I've got this error, on Manjaro Linux, Linux xxx-minipcpn51e1 6.6.1-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu Nov 9 04:27:49 UTC 2023 x86_64 GNU/Linux $ npm run tauri build -- --verbose
...
+ find -L /usr/lib /usr/lib32 /usr/lib64 -name WebKitNetworkProcess -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
++ dirname '{}'
+ find -L /usr/lib /usr/lib32 /usr/lib64 -name WebKitWebProcess -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
++ dirname '{}'
+ find -L /usr/lib /usr/lib32 /usr/lib64 -name libwebkit2gtkinjectedbundle.so -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
+ cd /home/peng/.cache/tauri
+ wget -q -4 -N https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64
+ wget -q -4 -N https://github.com/AppImage/AppImageKit/releases/download/12/AppRun-x86_64
Error [tauri_cli_node] failed to bundle project: error running appimage.sh It seems that the URL to |
The url's seem correct (in the sense that they can be reached with wget, I'm guessing it errors on either an earlier or later step in that process. |
This seems to have fixed it for me, thank you. |
Closing this as OP's (and hopefully all the others') issues are resolved and a catch all issue is not really helpful considering that this error message can be caused by many different root causes. In general in case anyone sees this error message and none of the messages here help them. Please re-run it with the --verbose flag and open a new issue with the logs. Thank you. |
Describe the bug
Build a hello word project, run
pnpm tauri build
, get a error:Reproduction
run
pnpm tauri build
Expected behavior
Build success.
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: