Skip to content
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

[sql] [examples:todos-app] yarn tauri dev error: Additional property 'useBootstrapper' is not allowed #199

Closed
shinshin86 opened this issue Jul 9, 2022 · 2 comments · Fixed by tauri-apps/tauri-plugin-sql#114

Comments

@shinshin86
Copy link

Hello!
I wanted to try tauri-plugin-sql and tried todos-app(examples) locally.

But when I run yarn tauri dev, I get the following error.

$ tauri dev
`tauri.conf.json` error on `tauri > bundle > deb`: Additional property 'useBootstrapper' is not allowed
`tauri.conf.json` error on `tauri > bundle > macOS`: Additional property 'useBootstrapper' is not allowed
error Command failed with exit code 1.

I am not familiar with tauri and tauri-plugin-sql yet, is this something else I need to command?

My environment and the actual command I ran are listed below.

$ tauri info

Environment
  › OS: Mac OS 11.6.7 X64
  › Node.js: 16.14.0
  › npm: 8.3.1
  › pnpm: 7.1.0
  › yarn: 1.22.17
  › rustup: 1.24.3
  › rustc: 1.59.0
  › cargo: 1.59.0
  › Rust toolchain: stable-aarch64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 1.0.3
  › @tauri-apps/api [NPM]: 1.0.0

Command executed is here.

git clone https://github.com/tauri-apps/tauri-plugin-sql.git
cd tauri-plugin-sql/examples/todos-app
yarn install
yarn tauri dev
@AlwaysFocus
Copy link

@shinshin86 If you remove the 'useBootstrapper' in the macOS and deb objects in tauri.conf.json it will compile and run properly.

@shinshin86
Copy link
Author

@AlwaysFocus I see. Thank you!

However, at this time, this todos-app does not seem to work yet.
(The errors are as follows)

[0] > svelte-kit dev is no longer available — use vite dev instead
[0]   1. Install vite as a devDependency with npm/pnpm/etc
[0]   2. Create a vite.config.js with the @sveltejs/kit/vite plugin (see below)
[0]   3. Update your package.json scripts to reference `vite dev` instead of `svelte-kit dev`

The cause is due to the following breaking change in @sveltejs/kit.
sveltejs/kit#5332

I have created a PR that add a response to this.
Would it possible to have it checked?
tauri-apps/tauri-plugin-sql#123

@FabianLars FabianLars transferred this issue from tauri-apps/tauri-plugin-sql Feb 15, 2023
@FabianLars FabianLars changed the title [examples:todos-app] yarn tauri dev error: Additional property 'useBootstrapper' is not allowed [sql] [examples:todos-app] yarn tauri dev error: Additional property 'useBootstrapper' is not allowed Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants