My team is using AngularJS, Node.js, Grunt, Sass CSS via Compass, Yoeman, and a few other web toolsets. The other day when running the serve process to generate the css output from Sass CSS, the css wasn’t able to generate. It turned out that Compass was setting the permissions on the .tmp folder where it puts the CSS to a state that didn’t all the process to write the file, hence a Permission Denied error. To fix this issue I followed the StackOverflow thread http://stackoverflow.com/questions/22596760/yeoman-error-errnoeacces-on-line-897-of-c-permission-denied which did these steps.
Open a command prompt and run the following.
- gem uninstall sass (if you have multiple version, select all)
- gem uninstall compass
- gem install compass --pre
- gem install sass --pre