tw93 / Pake

🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用
MIT License
24.64k stars 4.28k forks source link

[Bug] error: invalid character `{` in package name: `tauri-plugin-{{name}}`, #696

Closed kknono closed 2 months ago

kknono commented 2 months ago

Search before asking

Pake version

@2.3.6

System version

Mac M1

Node.js version

v20.11.1

Minimal reproduce step

for test "pake https://www.google.com --name Weekly --transparent"

What did you expect to see?

Complete

What did you see instead?

✔ Package installed! ✺ Building app...

pake-cli@2.3.6 build npm run tauri build --release ✸ Building app...

pake-cli@2.3.6 tauri tauri build ✹ Building app... error: invalid character { in package name: tauri-plugin-{{name}}, characters must be Unicode XID characters (numbers, -, _, or most letters) --> ../../../../../../../../.cargo/git/checkouts/plugins-workspace-fd0259fcb18f51ad/5b814f5/shared/template/Cargo.toml:2:8 | 2 | name = "tauri-plugin-{{name}}" | ^^^^^^^^^^^^^^^^^^^^^^^ ✶ Building app...

Anything else?

No response

Are you willing to submit a PR?

tw93 commented 2 months ago

Depending on the update issue, and regenerating the lock file, you can try again.

tw93 commented 1 month ago

npm i pake-cli -g Try again, version 2.3.8 is released!