Skip to content

Vitejs + React + Tauri app is broken after building #6801

Answered by FabianLars
prayag17 asked this question in Q&A
Discussion options

You must be logged in to vote

I think i found the issue/solution, in case it helps i'll add all the steps i took:

  1. i had to add prop-types and @tauri-apps/api so that it was able to build in the first place
  2. I ran npm run tauri build -- --debug because i didn't want to wait for a release build
  3. In the console i see this error:
Error
index-96322c44.js:4332  Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=object&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at yh (index-96322c44.js:7246:17)
    at q2 (index-96322c44.js:3584:23)
    at n2 (index-96322c44.js:3658:14)
    at J2 (index-96322c4…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@FabianLars
Comment options

@prayag17
Comment options

@prayag17
Comment options

@FabianLars
Comment options

Answer selected by prayag17
@prayag17
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants