Tauri ビルド時にエラー「Error You must change the bundle identifier in tauri.conf.json > tauri > bundle > identifi. The default value com.tauri.de is not allowed as it must be unique across applications.」が発生した場合の対処法
Tauriでビルド時にエラー「Error You must change the bundle identifier in tauri.conf.json > tauri > bundle > identifi. The default value com.tauri.de is not allowed as it must be unique across applications.」が発生した場合の対処法を記述してます。
環境
- OS CentOS Stream release 9
- rustc 1.62.1
- Tauri 1.1
エラー全文
「npm」環境で「build」時に発生。
$ npm run tauri build
> tauri-sample@0.0.0 tauri
> tauri build
Error You must change the bundle identifier in `tauri.conf.json > tauri > bundle > identifier`. The default value `com.tauri.dev` is not allowed as it must be unique across applications.
原因
エラーメッセージの通り「src-tauri」に配下にある「tauri.conf.json」の「identifier」の値を変更する必要があるため
対処法
任意の値に変更する。
「tauri.conf.json」にある
「identifier」の値を変更します。
-
前の記事
javascript 配列をディープコピーする 2022.10.17
-
次の記事
draw.io 図形のロックと解除を行うショートカットキー 2022.10.17
コメントを書く