yo angular generates files in wrong path ( home directory )
问题 yo angular generates the files in my home directory and I don't know why. I did the following: ppa for node curl -sL https://deb.nodesource.com/setup | sudo bash - then install node sudo apt-get install -y nodejs create a symlink sudo ln -s "$(which nodejs)" /usr/bin/node install yeoman sudo npm install -g yo sudo npm install -g generator-angular next steps from the instruction from https://github.com/yeoman/generator-angular mkdir my-new-project && cd $_ now I run yo angular test1 now all