yarn create project 16/16 Incorrect filename, directory name or volume label syntax.

question

image.png
The root cause of the problem:
Inconsistent yarn installation and cache directories cause

View the directory for the yarn command:

yarn global bin
yarn global dir

image.png

How to solve

Modify yarn's global installation location and cache location:

yarn config set global-folder "D:\nodejs\node_global"
yarn config set cache-folder "D:\nodejs\node_cache"

image.png

Guess you like

Origin blog.csdn.net/weixin_43853746/article/details/121942749