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)文章
ant-design的upload組件中實現(xiàn)粘貼上傳實例詳解
這篇文章主要為大家介紹了ant-design的upload組件中實現(xiàn)粘貼上傳實例,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進步,早日升職加薪2023-05-05利用前端HTML+CSS+JS開發(fā)簡單的TODOLIST功能(記事本)
這篇文章主要介紹了用HTML+CSS+JS做出簡單的TODOLIST(記事本)項目,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友可以參考下2021-04-04微信小程序 (三)tabBar底部導(dǎo)航詳細(xì)介紹
這篇文章主要介紹了微信小程序 (三)tabBar底部導(dǎo)航詳細(xì)介紹的相關(guān)資料,需要的朋友可以參考下2016-09-09微信小程序request出現(xiàn)400的問題解決辦法
這篇文章主要介紹了微信小程序request出現(xiàn)400的問題解決辦法的相關(guān)資料,需要的朋友可以參考下2017-05-05