starcoin
starcoin copied to clipboard
[MPM] move-package-manager prompts HOME environment variable not found on Windows platform
Bug Report
MPM prompts HOME environment variable not found on Windows platform。
OS: Windows 10 mpm: v1.11.9-alpha
Current behavior:
Expected behavior:
No error message.
Steps to reproduce:
git clone https://github.com/starcoinorg/guide-to-move-package-manager.git
cd simple-nft
mpm.exe package build
Related code:
https://github.com/starcoinorg/move/blob/ae12f353227a01da84efeec99943c6185afec338/language/tools/move-package/src/source_package/manifest_parser.rs#L327
Other information:
None
We should use crate dirs-next to get home dir in move-package.
dirs_next::home_dir()
resolved