Skip to content

[bug] tauri dev -c flag error #4067

@Orgil

Description

@Orgil

Describe the bug

yarn tauri dev -c file.json gives me below error

Error running CLI: No such file or directory (os error 2)

if i pass json string it is working as expected.

Reproduction

No response

Expected behavior

passing json file path to cli should properly merge config

Platform and versions

Environment
  › OS: Mac OS 11.6.5 X64
  › Node.js: 14.18.1
  › npm: 6.14.15
  › pnpm: Not installed!
  › yarn: 1.22.18
  › rustup: 1.24.3
  › rustc: 1.59.0
  › cargo: 1.59.0
  › Rust toolchain: stable-x86_64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.9
  › @tauri-apps/api [NPM]: 1.0.0-rc.4
  › tauri [RUST]: 1.0.0-rc.8,
  › tauri-build [RUST]: 1.0.0-rc.7,
  › tao [RUST]: 0.8.4,
  › wry [RUST]: 0.15.1,

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions