-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
status: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug
Description
Describe the bug
Error You must change the bundle identifier in tauri.conf.json > tauri > bundle > identifier
. The bundle identifier string must contain only alphanumeric characters (A–Z, a–z, and 0–9), hyphens
(-), and periods (.).
Reproduction
1 - npm run tauri build
Expected behavior
Application be built
Platform and versions
Environment
› OS: Windows 10.0.19044 X64
› Webview2: 103.0.1264.44
› MSVC:
- Visual Studio Build Tools�2019
› Node.js: 16.10.0
› npm: 6.14.13
› pnpm: Not installed!
› yarn: Not installed!
› rustup: 1.24.3
› rustc: 1.62.0
› cargo: 1.62.0
› Rust toolchain: stable-x86_64-pc-windows-msvc
Packages
› @tauri-apps/cli [NPM]: 1.0.2
› @tauri-apps/api [NPM]: 1.0.1
› tauri [RUST]: 1.0.2,
› tauri-build [RUST]: 1.0.2,
› tao [RUST]: 0.12.1,
› wry [RUST]: 0.19.0,
App
› build-type: bundle
› CSP: unset
› distDir: ../www
› devPath: http://localhost:3333/
› bundler: Rollup
App directory structure
├─ .git
├─ node_modules
├─ src
├─ src-tauri
├─ tmp
└─ www
Stack trace
tauri "build"
Error You must change the bundle identifier in `tauri.conf.json > tauri > bundle > identifier`. The bundle identifier string must contain only alphanumeric characters (A–Z, a–z, and 0–9), hyphens
(-), and periods (.).
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! client@1.0.0-dev tauri: `tauri "build"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the client@1.0.0-dev tauri script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! D:\Dev\Projets\Team\Nexus\Hanami-chan\client\src-tauri\tmp\_logs\2022-07-04T18_09_45_795Z-debug.log
Additional context
{
"package": {
"productName": "hanami-chan",
"version": "0.1.0"
},
"build": {
"distDir": "../www",
"devPath": "http://localhost:3333/",
"beforeDevCommand": "npm start",
"beforeBuildCommand": "npm run build",
"withGlobalTauri": true
},
"tauri": {
"bundle": {
"active": true,
"targets": "all",
"identifier": "hanami",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": [],
"externalBin": [],
"copyright": "",
"category": "DeveloperTool",
"shortDescription": "",
"longDescription": "",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
}
},
"updater": {
"active": false
},
"allowlist": {
"all": true
},
"windows": [
{
"label": "main",
"title": "Hanami Chan",
"width": 1200,
"height": 700,
"resizable": true,
"fullscreen": false,
"visible": false
},
{
"label": "splashscreen",
"url": "splash_screen.html",
"width": 250,
"height": 350,
"resizable": false,
"decorations": false,
"fullscreen": false,
"center": true,
"visible": true,
"alwaysOnTop": true
}
],
"security": {
"csp": null
}
}
}
Metadata
Metadata
Assignees
Labels
status: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug