yarn config set global-folder报错

记录自己平时的问题,自查使用,步骤粗糙,请见谅!

 

yarn config set global-folder 后面跟了个文件夹之后就报下面的错

error An unexpected error occurred: "EEXIST: file already exists, mkdir 'H:\\nodejs\\node_global\\Yarn'".
info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\XXXXX\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

 

解决:(1条消息) yarn安装与配置【Windows】_小天才程序员的博客-CSDN博客_yarn安装及环境配置

按照这个删了个文件,就可以重新配置了

posted @ 2025-04-13 15:03  想要翻身的咸鱼  阅读(28)  评论(0)    收藏  举报