프로젝트 생성시 Vue 오류

 ERROR  Failed to get response from https://registry.npmmirror.com/vue-cli-version-marker


Vue CLI v5.0.8
Failed to check for updates
? Target directory F:\yueya\Vue_projects\vue3_test already exists. Pick an action: Overwrite

Removing F:\yueya\Vue_projects\vue3_test...


Vue CLI v5.0.8
Failed to check for updates
? Please pick a preset: Default ([Vue 3] babel, eslint)


Vue CLI v5.0.8
Failed to check for updates
✨  Creating project in F:\yueya\Vue_projects\vue3_test.
⚙️  Installing CLI plugins. This might take a while...

 ERROR  Failed to get response from https://registry.npmmirror.com/binary-mirror-config

Vue는 프로젝트를 생성할 때 오류를 보고합니다.

해결책:

1. 자신의 네트워크를 확인하십시오. 때때로 네트워크가 너무 느려서 프로젝트 생성이 실패합니다.

2. npm 버전이 너무 낮습니다. 다음과 같이 해결할 수 있습니다.

npm install -g npm

 그런 다음 프로젝트를 생성합니다: vue create project name

vue create vue3_test

 3. chatgpt를 통해 얻은 솔루션:

 

추천

출처blog.csdn.net/qq_52154373/article/details/129600162