### Version 4.5.6 ### Environment info ``` N/A ``` ### Steps to reproduce 1. Globally install vue-cli 2. Run vue create [myprojectname] ### What is expected? The project to be created ### What is actually happening? An error is thrown when creating the project (default options) ``` Error: spawn yarn ENOENT ``` <!-- generated by vue-issues. DO NOT REMOVE -->