pnpm?tauri?build?默認(rèn)com.tauri.dev打包報(bào)錯(cuò)解決
pnpm tauri build打包命令報(bào)錯(cuò)
使用 tauri + solid.js 構(gòu)建桌面應(yīng)用,執(zhí)行 pnpm tauri build 打包命令報(bào)錯(cuò):
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
完整報(bào)錯(cuò)
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.解決報(bào)錯(cuò)
修改 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打包報(bào)錯(cuò)解決的詳細(xì)內(nèi)容,更多關(guān)于pnpm tauri build打包報(bào)錯(cuò)的資料請(qǐng)關(guān)注腳本之家其它相關(guān)文章!
- 詳解PNPM?Monorepo依賴項(xiàng)管理功能模擬實(shí)現(xiàn)
- pnpm workspace管理monorepo項(xiàng)目使用過程詳解
- pnpm install:ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies
- 詳解unplugin?vue?components不能識(shí)別組件自動(dòng)導(dǎo)入類型pnpm
- Vue3?企業(yè)級(jí)組件庫(kù)框架搭建?pnpm?monorepo實(shí)戰(zhàn)示例
- Vue3中使用pnpm搭建monorepo開發(fā)環(huán)境
- pnpm管理依賴包如何節(jié)省磁盤空間詳解
相關(guān)文章
Vite項(xiàng)目自動(dòng)添加eslint prettier源碼解讀
這篇文章主要為大家介紹了Vite項(xiàng)目自動(dòng)添加eslint prettier源碼解讀,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2022-12-12
ant-design的upload組件中實(shí)現(xiàn)粘貼上傳實(shí)例詳解
這篇文章主要為大家介紹了ant-design的upload組件中實(shí)現(xiàn)粘貼上傳實(shí)例,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2023-05-05
微信小程序 textarea 組件詳解及簡(jiǎn)單實(shí)例
這篇文章主要介紹了微信小程序 textarea 組件詳解及簡(jiǎn)單實(shí)例的相關(guān)資料,需要的朋友可以參考下2017-01-01
利用前端HTML+CSS+JS開發(fā)簡(jiǎn)單的TODOLIST功能(記事本)
這篇文章主要介紹了用HTML+CSS+JS做出簡(jiǎn)單的TODOLIST(記事本)項(xiàng)目,文中通過示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下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
詳解無(wú)界微前端是如何渲染子應(yīng)用的demo解析
這篇文章主要為大家介紹了詳解無(wú)界微前端是如何渲染子應(yīng)用demo解析,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2023-04-04

