欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

pnpm?tauri?build?默認(rèn)com.tauri.dev打包報錯解決

 更新時間:2023年08月18日 08:59:10   作者:天問  
這篇文章主要介紹了pnpm?tauri?build?默認(rèn)com.tauri.dev打包報錯解決方式,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進步,早日升職加薪

pnpm tauri build打包命令報錯

使用 tauri + solid.js 構(gòu)建桌面應(yīng)用,執(zhí)行 pnpm tauri build 打包命令報錯:

Error You must change the bundle identifier intauri.conf.json > tauri > bundle > identifier. The default valuecom.tauri.devis not allowed as it must be unique across applications 。

tauri + solid.js

完整報錯

tiven@bogon tauri-app % pnpm tauri build              
> tauri-app@1.0.0 tauri /Users/tiven/Desktop/dev/rust/tauri-app
> 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.
?ELIFECYCLE? Command failed with exit code 1.

解決報錯

修改 src-tauri/tauri.conf.json 在文件中的 tauri.bundle.identifier 參數(shù),默認(rèn)值是 com.tauri.dev ,修改為其他的 非默認(rèn)值 即可。如下:

"bundle": {
  "active": true,
  "targets": "all",
  "identifier": "com.tauri-app.dev",
}

以上就是pnpm tauri build 默認(rèn)com.tauri.dev打包報錯解決的詳細(xì)內(nèi)容,更多關(guān)于pnpm tauri build打包報錯的資料請關(guān)注腳本之家其它相關(guān)文章!

相關(guān)文章

最新評論