Today being so frustrated, spent 3 hours to move the angular2 test application to the digitalocean cloud because of some small issues.
npm install doesn’t work at all for the angular-cli
npm install command, but after the installation, the node_modules folder is still empty.
solution: install the yarn, and use yarn for the installation
2. Module build failed: Error: ENOENT: no such file or directory, scandir ‘/root/dashboard2/dashboard/node_modules/node-sass/vendor’
2.1 install python
npm rebuild node-sass