Solution to error report of yarn create umi under win7

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:
-The
syntax of the create-umi file name, directory name, or volume label is incorrect.
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

Successfully resolved by running these two commands

Guess you like

Origin blog.csdn.net/chendongpu/article/details/114368625