Describe the bug
When running "npm run tauri dev" i got this error:
> tauri-app@0.0.0 tauri
> tauri dev
Running BeforeDevCommand (`npm run start --port 1420`)
> tauri-app@0.0.0 start
> ng serve 1420
Error: Invalid values:
Argument: project, Given: "1420", Choices: "tauri"
Error The "beforeDevCommand" terminated with a non-zero status code.
Reproduction
Create new tauri project with typescript and angular and run tauri dev after install packages
Expected behavior
No response
Platform and versions
Environment
› OS: Windows 10.0.22621 X64
› Webview2: 112.0.1722.64
› MSVC:
- Ferramentas de Build do Visual Studio 2019
› Node.js: 18.16.0
› npm: 9.5.1
› pnpm: Not installed!
› yarn: Not installed!
› rustup: 1.26.0
› rustc: 1.69.0
› cargo: 1.69.0
› Rust toolchain: stable-x86_64-pc-windows-msvc
Packages
› @tauri-apps/cli [NPM]: 1.2.3
› @tauri-apps/api [NPM]: 1.2.0
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error("unexpected end of input while parsing minor version number")', src\info.rs:502:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Stack trace
No response
Additional context
I fixed the bug changing 2 lines in tauri.conf.json but it should generate the file with correct port after selecting options.
On build section, i change these 2 lines:
"beforeDevCommand": "npm run start --port 1420", "devPath": "http://localhost:1420",
to
"beforeDevCommand": "npm run start", "devPath": "http://localhost:4200",
Describe the bug
When running "npm run tauri dev" i got this error:
Reproduction
Create new tauri project with typescript and angular and run tauri dev after install packages
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
I fixed the bug changing 2 lines in tauri.conf.json but it should generate the file with correct port after selecting options.
On build section, i change these 2 lines:
"beforeDevCommand": "npm run start --port 1420", "devPath": "http://localhost:1420",to
"beforeDevCommand": "npm run start", "devPath": "http://localhost:4200",