FileExplorer icon indicating copy to clipboard operation
FileExplorer copied to clipboard

Tauri build error when compiling build.

Open dapiguy3 opened this issue 1 year ago • 3 comments

(this is my first time doing this so apologies if i did it wrong)

production of bug: I downloaded latest source as of date, updated npm and installed rust. i then installed and updated yarn and tauri-cli. after that i ran the yarn dependency grab which finished with no errors, but ive been stonewalled immediately by this error trying to run the cargo tauri build command.

traceback(win11,cmd.exe): \FileExplorer-1.0.31>cargo tauri build Error tauri.conf.json error: "identifier" is a required property 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)

cargo tauri --version tauri-cli 2.1.0

yarn --version 1.22.22

rustc --version rustc 1.83.0 (90b35a623 2024-11-26)

npm --version 9.5.1

dapiguy3 avatar Dec 11 '24 03:12 dapiguy3

tauri.conf.json: { "build": { "beforeDevCommand": "yarn dev", "beforeBuildCommand": "yarn build", "devPath": "http://localhost:1420", "distDir": "../dist", "withGlobalTauri": false }, "package": { "productName": "File Explorer", "version": "0.0.0" }, "tauri": { "allowlist": { "all": false, "dialog": { "all": true }, "shell": { "all": false, "open": true } }, "bundle": { "active": true, "targets": "all", "identifier": "com.tauri.dev.test", "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/[email protected]", "icons/icon.icns", "icons/icon.ico" ] }, "security": { "csp": null }, "windows": [ { "fullscreen": false, "resizable": true, "title": "file-explorer", "width": 1024, "height": 678 } ] } }

dapiguy3 avatar Dec 11 '24 03:12 dapiguy3

I have the same error 👌

MarcBlattmann avatar Dec 24 '24 13:12 MarcBlattmann

i have the same error too :(

JanLoTr avatar Jan 22 '25 07:01 JanLoTr