thank: CSDN@beeegood Questions provided.
Today, they encountered a very interesting bug. When they created a project with @ Vue/cli, they reported an error, which they had never seen before:
At first, I thought it was a version problem. After all, the error message said update, but the version of CLI was the latest. After asking, the node and NPM versions were also the latest (12.16.1, which was the latest as of the time I wrote this article). Most importantly, there was no old version of Vue cli
That’s very interesting. According to convention, when encountering the front-end problem, the first reaction is to unload and reload
npm uninstall -g @vue/cli
npm cache clean --force
npm install -g @vue/cli
However, it’s useless. After checking for a long time, we can’t find the relevant error report on the Internet, which is very embarrassing.
Later, I noticed that there is an output of yarn below. Is the built-in yarn in cli?But this shouldn’t be:
although I think it’s incredible, I still decided to look at the version of yarn. Yarn is highly suspected. Sure enough:
the problem was found. But what is this?Hadoop?
Later, I remembered that yarn is also a part of Hadoop, which is used to schedule resources:
Read More:
- Solution to Vue cli · failed to download repo vuejs templates/webpack: connect etimeout followed by an IP digital error message
- Solution to inaccessibility of Vue cli scaffold project after startup
- Solution of installing Vue cli scaffold error-4048
- Solution of “serve with message ‘spawn Vue cli service enoent”
- Create Vue cli project and report error command failed: Yarn
- Vue cli 4 CMD command creates an error: error command failed NPM install – loglevel error – solution
- Vue cli · failed to download repo vuejs templates / webpack: read econnreset
- Item exception: failed to get the required ADT version number from the SDK
- “Hive metadata problem” hive.metastore.HiveMetaException : Failed to get schema version.
- Vue init webpack command error Vue cli / node_ modules/_ [email protected]@rimraf/rimraf.js :313
- JS Ajax request is successful, the response displays “failed to load response data”
- Vue cli service: command not found
- Solution: DevTools failed to load SourceMap:… net::ERR_HTTP_RESPONSE_CODE_FAILURE problem
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error [How to Fix]
- Vue running error: error failed to compile with 1 errors, browser error: cannot get/
- Error response from daemon: Get https://20.0.0.100/v2/: dial tcp 20.0.0.100:443: connect: connection
- Failed to download when creating Vue project, solution
- [spring] springboot failed to install cli, unsupportclassversionerror 52.0
- QT running prompt failed to create OpenGL context for format qsurfaceformat (version 2.0, options qflags() solution)
- About WLW (Windows Live Writer): “unable to connect to your log service: invalid server response” solution