@vue/cli created a project encountered ERROR Failed to get response from /vue-cli-version-marker solution

Question
When I was learning vue scaffolding today, I used vue create hello to create a project, but found that there were only two files package.json and README.md in the created hello file. I looked at the cmd carefully and found that it
insert image description here
prompted an error
insert image description here
and reinstalled vue-cli. Yes, I read other people's blogs and learned that it is related to hadoop. It happened that this semester I took a course in big data analysis and built a hadoop cluster. It is said on the Internet that removing hadoop from the environment variable will do.

It's not fun to go at first glance! !

I managed to build the hadoop cluster, and I dare not move it until the course is over.
Solution
Find the .vuerc file and modify the "packageManager" inside: "yarn"

change yarn to npm

.vuerc is generally in the system disk user, open

changed to

Just re-execute vue create hello O(∩_∩)O

Guess you like

Origin blog.csdn.net/qq_39598825/article/details/127717964