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)

Most upvoted comments

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.

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-pack v0.11.0 doesn’t work, downgrading to 0.10.3 helped