Closed pingvin12 closed 1 year ago
could you upgrade tauri
and tauri-build
in src-tauri/Cargo.toml
to latest version 1.4
and try again?
Just ran cargo update
, and the issue persists.
I have used https://github.com/kvnxiao/tauri-nextjs-template to test out next.js with latest tauri and it worked just fine, maybe you have misconfigured your next.js config or tauri config. Please checkout out that repo and see if your configs match theirs, if not, please reach out to us on Discord where we can help you triage the issue.
Describe the bug
When running npm run tauri build, the app compiles and whenever you launch it on any platform, tauri will not be able to find index.html and writes out the message below:
Could not get requested file.
The app works fine under tauri dev.Reproduction
npm run tauri build
Expected behavior
I'd expect tauri to navigate nextjs directories compiled inside ./out dir, and run the frontend from there.
Platform and versions
Stack trace
Additional context
[EDIT]: the repository can be found here: https://github.com/pingvin12/1Pass