win7 下 yarn create umi报错的解决办法

E:\practice\createUmi>yarn create umi
yarn create v1.16.0
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Installed "[email protected]" with binaries:
- create-umi
文件名、目录名或卷标语法不正确。
error Command failed.
Exit code: 1
Command: D:\Program\nodejs\node_modules\bin\create-umi
Arguments:
Directory: E:\practice\createUmi
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.
 

$ yarn global add create-umi
$ create-umi

运行这两条命令成功解决

猜你喜欢

转载自blog.csdn.net/chendongpu/article/details/114368625
今日推荐