wasm-pack: Cannot Create New Wasm Pack Project
π Bug description
wasm-pack --version
> wasm-pack 0.11.0
wasm-pack new hello-world
>Error: expected value at line 1 column 1
>Caused by: expected value at line 1 column 1
π€ Expected Behavior
Should create new project in current directory
π Steps to reproduce
I tried to update wasm-pack via cargo
cargo install wasm-pack
realized the install was broken, then uninstalled and re-installed via the install script
cargo uninstall wasm-pack
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
This gave me the above error
π Your environment
Include the relevant details of your environment. wasm-pack version: see above rustc version: rustc 1.69.0-nightly (246eae2fa 2023-02-21)
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 10
- Comments: 16 (7 by maintainers)
Released in v0.12.0
Could releasing this fix be prioritised, if only as a patch release on top of the previous release without any other recent additions? Older wasm-pack versions raise a warning if an older version is used so at present weβre just funnelling users into a completely broken state.
Yeah, it is still a mystery to me how it stopped working and start working again. Somebody need to dive deeper into this.
Confirm.
wasm-packv0.11.0 doesnβt work, downgrading to 0.10.3 helped