I am pretty new to all this but even with help from someone more experienced I can't seem to get past this error. I feel like it might be a structure problem but not a hundred percent sure. The error shows as this:
Error `tauri.conf.json` error on `app`: Additional properties are not allowed ('bundle' was unexpected)
Error `tauri.conf.json` error: Additional properties are not allowed ('package' was unexpected)
And sometimes we have seen this one but it isn't showing up right now.
Error `tauri.conf.json` error on `build`: Additional properties are not allowed ('devPath', 'distDir' were unexpected)
Error `tauri.conf.json` error: Additional properties are not allowed ('package', 'tauri' were unexpected)
Here is what my tauri.conf.json looks like in my project.
{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"package": {
"productName": "my-island-layouts",
"version": "0.1.0"
},
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist",
"devUrl": "http://localhost:1420"
},
"app": {
"windows": [
{
"fullscreen": false,
"height": 720,
"resizable": true,
"title": "My Island Layouts",
"width": 1280
}
],
"security": {
"csp": null
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.myisland.layouts",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
},
"plugins": {
"dialog": {},
"fs": {
"scope": ["$HOME/**"]
},
"shell": {}
}
> }
Any help or advice you can give would be much appreciated!
Had to get a new project created in order to run cargo tauri info. Result below:
[✔] Environment
- OS: Windows 10.0.26100 x86_64 (X64)
✔ WebView2: 137.0.3296.93
✔ MSVC: Visual Studio Build Tools 2022
✔ rustc: 1.88.0 (6b00bc388 2025-06-23)
✔ cargo: 1.88.0 (873a06493 2025-05-10)
✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (overridden by environment variable RUSTUP_TOOLCHAIN)
- node: 22.17.0
- npm: 10.9.2
[-] Packages
- tauri 🦀: 2
- tauri-build 🦀: No version detected
- wry 🦀: No version detected
- tao 🦀: No version detected
- tauri-cli 🦀: 2.6.1 (outdated, latest: 2.6.2)
- @tauri-apps/api : 2.6.0
- @tauri-apps/cli : 2.6.1 (outdated, latest: 2.6.2)
[-] Plugins
- tauri-plugin-opener 🦀: 2
- @tauri-apps/plugin-opener : 2.4.0
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- bundler: Vite
I am pretty new to all this but even with help from someone more experienced I can't seem to get past this error. I feel like it might be a structure problem but not a hundred percent sure. The error shows as this:
And sometimes we have seen this one but it isn't showing up right now.
Here is what my tauri.conf.json looks like in my project.
Any help or advice you can give would be much appreciated!
Had to get a new project created in order to run cargo tauri info. Result below:
[✔] Environment
- OS: Windows 10.0.26100 x86_64 (X64)
✔ WebView2: 137.0.3296.93
✔ MSVC: Visual Studio Build Tools 2022
✔ rustc: 1.88.0 (6b00bc388 2025-06-23)
✔ cargo: 1.88.0 (873a06493 2025-05-10)
✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (overridden by environment variable RUSTUP_TOOLCHAIN)
- node: 22.17.0
- npm: 10.9.2
[-] Packages
- tauri 🦀: 2
- tauri-build 🦀: No version detected
- wry 🦀: No version detected
- tao 🦀: No version detected
- tauri-cli 🦀: 2.6.1 (outdated, latest: 2.6.2)
- @tauri-apps/api : 2.6.0
- @tauri-apps/cli : 2.6.1 (outdated, latest: 2.6.2)
[-] Plugins
- tauri-plugin-opener 🦀: 2
- @tauri-apps/plugin-opener : 2.4.0
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- bundler: Vite