报错
<3>WSL (17484) ERROR: No such file or directory @C:/__w/1/s/src/linux/mountutil\mountutilcpp.h:17 (MountEnum)
<3>WSL (17484) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\zhukunpeng6\AppData\Roaming\npm
distrod 0.1.7
USAGE:
-bash [OPTIONS] <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-l, --log-level <log-level> Log level in the env_logger format. Simple levels: trace, debug, info(default), warn,
error
SUBCOMMANDS:
create
disable
enable
exec
help Prints this message or the help of the given subcommand(s)
start
stop
解决方法
这时候wsl已经打不开了
wsl --shutdownwsl- 进入wsl后,
sudo /opt/distrod/bin/distrod disable wsl --shutdownwsl- 修改
/etc/wsl.conf,内容为[boot] systemd=true
之后就可以正常进入wsl了

2136

被折叠的 条评论
为什么被折叠?



