I'm trying to get an existing ember app running locally for development, but when I run "ember server" from inside the app directory, I get this error:
version: 0.0.39
Livereload server on port 35729
Serving on http://0.0.0.0:4200
EACCES, unlink 'dist/assets/.gitkeep'
Error: EACCES, unlink 'dist/assets/.gitkeep'
Per this thread https://github.com/stefanpenner/ember-cli/issues/381 I tried doing the following:
npm uninstall -g ember-cli
rm -rf node_modules
npm cache clear
npm install -g ember-cli
npm install
bower install
Note however I had to use sudo in front of all the npm commands as well as rm -rf node_modules. I also tried per this thread https://github.com/bower/bower/issues/475 and again using sudo:
npm cache clean
npm uninstall -g bower
npm install -g bower
but none of this worked, I still get the same error. I'm new to using all this Ember tooling i.e. npm, bower, ember-cli, etc. and have a feeling I did something wrong during the install process if I'm having to use sudo all the time. Suggestions for how to fix that error?