-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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] sidecar: No such file or directory (os error 2) #4780
Comments
I solved this by changing the name of the sidecar to something other than app, something I discovered as a possible fix by finding 3663 was resolved this way as well. However, even though the documentation uses an example of "my_sidecar", the example uses "app", which is how I found my way down this path. Maybe there could be some sort of error message forbidding this, or some fix to ensure tauri isn't confused by it? |
Perhaps I should leave this open, assuming this is a bug in tauri. |
i thought that this is a known limitation, in which case we'd need to change the example, but maybe it indeed is just a bug 🤔 |
Happens because the CLI renames the |
+1 For changing the example. Spent hours until I found my way to this thread 🙃. |
Describe the bug
Appears to be similar to issue #3612.
Works in build, but not in dev.
Moving app-* (app-aarch64-apple-darwin in this case) to the src-tauri directory and changing "bin/app" to "app" did not work.
Reproduction
Relevant sections of my tauri.conf.json
And of the JavaScript...
Expected behavior
Dev and build should behave the same.
Platform and versions
macOS 12.4 (21F79), M1 chip
tauri = { version = "1.0.5", features = ["api-all"] }
tauri-build = { version = "1.0.4", features = [] }
Stack trace
No response
Additional context
The example sidecar app only has one line, logging a string to the console.
The text was updated successfully, but these errors were encountered: