Skip to content

Tauri integration not working #20

@pedrogiroldo

Description

@pedrogiroldo

Here is the error:

- downloading sprite "bean"
- installing packages "kaplay@latest"
- installing dev packages "vite@latest", "@types/node@latest", "typescript@latest", "@tauri-apps/cli@latest"
- starting tauri project for desktop build
error: unexpected argument '--dist-dir' found

Usage: npm run npx init <--ci|--force|--log|--directory <DIRECTORY>|--tauri-path <TAURI_PATH>|--app-name <APP_NAME>|--window-title <WINDOW_TITLE>|--frontend-dist <FRONTEND_DIST>|--dev-url <DEV_URL>|--before-dev-command <BEFORE_DEV_COMMAND>|--before-build-command <BEFORE_BUILD_COMMAND>>

For more information, try '--help'.
thread '<unnamed>' panicked at crates\tauri-cli\src\helpers\app_paths.rs:119:5:
Couldn't recognize the current folder as a Tauri project. It must contain a `tauri.conf.json`, `tauri.conf.json5` or `Tauri.toml` file in any subfolder.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
node:fs:442
    return binding.readFileUtf8(path, stringToFlags(options.flag));
                   ^

Error: ENOENT: no such file or directory, open 'C:\Users\pedro\OneDrive\Documentos\Projetos\coney-island-queen-the-game\src-tauri\tauri.conf.json'
    at Object.readFileSync (node:fs:442:20)
    at G (file:///C:/Users/pedro/AppData/Local/npm-cache/_npx/f1d948c33646a2cb/node_modules/create-kaplay/dist/index.js:174:26)
    at file:///C:/Users/pedro/AppData/Local/npm-cache/_npx/f1d948c33646a2cb/node_modules/create-kaplay/dist/index.js:384:5
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\pedro\\OneDrive\\Documentos\\Projetos\\coney-island-queen-the-game\\src-tauri\\tauri.conf.json'
}

Node.js v22.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions