You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However in #748 the differentiation between mobile and non mobile target was removed, which in result makes the generated tauri.conf.json always contain the mobile version of the beforeDevCommand.
This behaviour in my understanding is incorrect, since it requires the HOST environment variable to be set, and running the desktop target using pnpm tauri dev does not set the HOST variable which results in errors during app startup (tauri-apps/tauri#10737).
When the beforeDevCommand in tauri.conf.json is manually set to the regular (non-mobile) version everything works flawlessly.
The text was updated successfully, but these errors were encountered:
maciekbartczak
changed the title
Invalid configuration is generated for Angular frontend desktop target when running with --rc
Invalid configuration is generated for Angular frontend when running with --rc
Aug 28, 2024
maciekbartczak
changed the title
Invalid configuration is generated for Angular frontend when running with --rc
Invalid configuration is generated for Angular frontend when running with --rcAug 28, 2024
The
.manifest file
in the angular template contains different entries forbeforeDevCommand
depending on the target:However in #748 the differentiation between mobile and non mobile target was removed, which in result makes the generated
tauri.conf.json
always contain the mobile version of the beforeDevCommand.This behaviour in my understanding is incorrect, since it requires the HOST environment variable to be set, and running the desktop target using
pnpm tauri dev
does not set the HOST variable which results in errors during app startup (tauri-apps/tauri#10737).When the
beforeDevCommand
intauri.conf.json
is manually set to the regular (non-mobile) version everything works flawlessly.The text was updated successfully, but these errors were encountered: