Yeoman Error: "Errno :: EACCES on line [" 897 "] of C: Permission denied"

I updated my hardware yesterday and the latest version of Win 8.1. This mistake has been killing me ever since. I already lost full time trying to figure out what was going on. I have never encountered this on my Mac or on my old Win 7 machine.

Setting up a new project using yo webapp using Bootstrap and Modernizr works great. The server will start and I will be able to see my updates in download mode. But creating a new project with Compass and SASS enabled would prevent me from starting the local server and throwing this error:

 D:\test>grunt serve Running "serve" task Running "clean:server" (clean) task Running "concurrent:server" (concurrent) task Running "copy:styles" (copy) task Done, without errors. Warning: Errno::EACCES on line ["897"] of C: Permission denied - (D:/test/.t mp/styles/main.css20140323-6060-d9r9eo, D:/test/.tmp/styles/main.css) Run with --trace to see the full backtrace Use --force to continue. Aborted due to warnings. Execution Time (2014-03-23 20:05:00 UTC) concurrent:server 4.8s β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β–  100% Total 4.8s D:\test> 

I upgraded Compass and SASS to the latest version, reinstalled Yeoman and Ruby, and tried a bunch of other small settings. Nothing succeeded.

Any ideas what else I could try?

+13
sass gruntjs compass-sass yeoman
Mar 23 '14 at 20:39
source share
2 answers

I found a solution for this problem. I think this may help with other similar problems with the grunt server running. Here is what it is for me:

Delete SASS

 gem uninstall sass 

Remove COMPASS

 gem uninstall compass 

Install version --pre COMPASS

 gem install compass --pre 

Install version --pre SASS

 gem install sass --pre 

For some reason, for me, only a working task worked in that order. Hope this helps.

+34
Mar 23 '14 at 21:28
source share

The problem is resolved in SASS 3.2.19. Try the gem update compass

+2
Apr 28 '14 at 10:06
source share



All Articles