node-sass module failed to download
When you create a project, from time to time encounter downloaded to the case of node-sass module will suddenly being given as follows:
After Finding information found above article, has effectively solved the problem, the solution is as follows:
1. The first mirror may be set to Taobao image:
Configuring the node-sass mirror address binary package:
Yarn config -g SET sass_binary_site http://cdn.npm.taobao.org/dist/node-sass
This effectively solves the problem of node-sass installation unsuccessful.
Reference article: https: //www.jianshu.com/p/b37aa202da5c
yarn question can not be used
* The project creation process also discovered a problem, not the same as the address set up with their own set of mirrors, such as:
this has led to errors are:
Download directly inaccessible, the solution is as follows:
1. Check the installation position of the yarn of the global :
yarn global dir
2. ensure yarn path has been configured in a global environment variable in the user variables:
3. locate .yarnnrc file in the root directory of the direct path handwriting
so the problem is effectively solved, you can continue to use vue create [item name] to create project.