The cause of
On a nice afternoon, I typed quasar create Tangerine_Reception
and I was proud to use YARN asa package manager, thinking I’d be free to worry about NPM’s quirks…
But Murphy’s Law always works: Yarn error An unexpected error occurred:****ETIMEDOUT (****)
why
After a search, we found that this was caused by the resource address request timeout. We need to change the source in China.
The solution
yarn config set registry https://registry.npm.taobao.org -g
Because the mirror image of taobao ten minutes synchronization, domestic speed is fast, so it was used
Proxies have been used
And then for a while there is a problem, check, found that I used to use the agent, now no, you can delete the agent.
yarn config delete proxy
yarn config delete https-proxy
Error installing node-sass
Then I use the yarn installation node – sass, then you can think of, to perform for a long time, finally told me: “oh, you can’t,” the problem with this address
“, of course not, but the solution is simple:
yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g
Taobao mirror source Dafa good
This will enable you to install Node-sass using NPM and download it from your Taobao source.
Read More:
- Error an unexpected error occurred:“ https://registry.npm.taobao.orgnpm/element-ui : get
- The sharepoint2010 site cannot open a solution that displays an “an unexpected error has occurred” error
- Anaconda opens Navigator to report an error and a web page appears Navigator Error An unexpected error occurred on Navigator start-up Report
- Anaconda opens navigator error – Navigator error an unexpected error occurred on navigator start-up
- An Ajax HTTP error occurred in drupal7 installation occurred.HTTP Result Code
- Vscode error: error: read etimedout
- There is an unhandled exception at: 0xc0000005: an access conflict occurred while reading location 0x00000000.
- Solve the problem of There was an unexpected error (type=Internal Server Error, status=500) (using Thymeleaf to report an error)
- An error occurred while loading commit signatures
- An error occurred when installing pytorch version 1.7 GPU
- An error occurred while Windows was synchronizing with *.*.*.*
- Eclipse reported an error: an error has occurred
- An error occurred while collecting items to be installed
- [ABAP] sproxy opens ESR and reports an error has occurred during communication ESR
- An error occurred when starting pyspider with Python 3.7
- An error occurred while installing json (1.8.1)
- An error occurred while starting the application
- An error occurred while processing your request
- Opencv: 0xc0000005: an access conflict occurred while reading location 0x0000000010
- An error occurred during the installation of assembly