Giter VIP home page Giter VIP logo

Comments (6)

FabianLars avatar FabianLars commented on September 6, 2024

This means that the action can't find a tauri cli in your repo root. In this case it will install the latest stable version which is incompatible with v2 beta.

Can you try setting projectPath on the tauri-action step to the path to the folder that contains the package.json file that installs the tauri cli?

If you're using the cargo based cli (which I don't think you do because it's not being installed in your workflow) you'll have to set tauriScript to cargo tauri

from tauri-action.

FabianLars avatar FabianLars commented on September 6, 2024

p.s. if that doesn't help, please share a repo that contains this problem (either your actual repo or a minimal reproduction) so we can take a look

from tauri-action.

Delfi1 avatar Delfi1 commented on September 6, 2024

p.s. if that doesn't help, please share a repo that contains this problem (either your actual repo or a minimal reproduction) so we can take a look

Now it woks, but when I added the tauri updater plugin, it stopped working. Here's run -> https://github.com/Delfi1/InkSky/actions/runs/9305030269/job/25611003409

from tauri-action.

FabianLars avatar FabianLars commented on September 6, 2024

That link is 404 for me (and the repo empty). I assume the run failed because of a misconfiguration due to our lack of docs for v2.

from tauri-action.

Delfi1 avatar Delfi1 commented on September 6, 2024

That link is 404 for me (and the repo empty). I assume the run failed because of a misconfiguration due to our lack of docs for v2.

I decided to recreate the repository. I still get this error. https://github.com/Delfi1/InkSky/actions/runs/9314605180/job/25639111406

from tauri-action.

Delfi1 avatar Delfi1 commented on September 6, 2024

This error:

warning: `inksky` (bin "inksky") generated 2 warnings
    Finished `release` profile [optimized] target(s) in 2m 48s
    Built application at: /Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/inksky
    Bundling inksky.app (/Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app)
    Bundling inksky_0.0.1_aarch64.dmg (/Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/inksky_0.0.1_aarch64.dmg)
    Running bundle_dmg.sh
    Bundling /Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app.tar.gz (/Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app.tar.gz)
    Finished 2 bundles at:
        /Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app
        /Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/inksky_0.0.1_aarch64.dmg
        /Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app.tar.gz (updater)

    Error Invalid symbol 44, offset 348.
Error: Command failed with exit code 1: npm run tauri build -- --target aarch64-apple-darwin

from tauri-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.