Create New Angular Project on Vagrant Shared Folder

When you use vagrant machine for development and your host machine is Windows and your guest machine is Linux, You cannot create sym links on shared folder,

then if you run `ng new <project-id>` , You will get errors. The solution is to skip NPM Instal From Angular CLI and Run it later with `--no-bin-links` parameter. 

ng new <project-id> --skip-install
cd <project-id>
yarn install --no-bin-links

 

0 Comments