wapm-cli 0.5.2 behavior change
chenrui333 opened this issue · comments
Thanks for the bug report!
Describe the bug
Trying to upgrade the homebrew formula to use the 0.5.2 release, but run into some test behavior change as below:
$ /opt/homebrew/Cellar/wapm/0.5.2/bin/wapm install cowsay
[INFO] Installing syrusakbary/cowsay@0.2.0
Error: Failed to install packages. Could not install package(s). There was an IO error creating the wapm_packages directory for package "syrusakbary/cowsay 0.2.0". No such file or directory (os error 2)
$ wapm -V
wapm-cli 0.5.1
$ rustc -V
rustc 1.58.1
Steps to reproduce
- Go to
cargo build the artifact
- Run
wapm install cowsay
- See error
$ /opt/homebrew/Cellar/wapm/0.5.2/bin/wapm install cowsay
[INFO] Installing syrusakbary/cowsay@0.2.0
Error: Failed to install packages. Could not install package(s). There was an IO error creating the wapm_packages directory for package "syrusakbary/cowsay 0.2.0". No such file or directory (os error 2)
Expected behavior
wapm install
success
Actual behavior
Failed.
Additional context
relates to Homebrew/homebrew-core#95244
Looks like the issue is sorted out in 0.5.3 release, closing.