I'm working with mean.io and this tutorial: http://code.tutsplus.com/tutorials/introduction-to-the-mean-stack--cms-19918
I am able to get everything working fine locally. I added everything, did a commit, then pushed to my remote.
90% of the push seems to work (db connection is working, I'm not getting a 404 or 503). The problem is that I'm getting this node.js error in the logs:
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open '/srv/data/web/vhosts/default/public/system/lib/bootstrap/dist/css/bootstrap.css'
Mean app started on port 8080 (production)
As you can see, the app is running correctly on port 8080. (So the page responds and 'loads.') However, the file '/srv/data/web/vhosts/default/public/system/lib/bootstrap/dist/css/bootstrap.css' appears to not be on the remote server, so none of my css is working and the page just loads blankly.
I FTPd into the server and the entire /lib/ directory is missing (including sub directories of course).
Locally, all of the directories and files exist. However, I cannot figure out why my remote push didn't include everything. I did a 'git status' and everything appears tracked.
Any help? Did I do something wrong with installing things locally with the -g flag that then doesn't translate to them being included in the commit? Thanks!