Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: EACCES, open '/usr/lib/node_modules/ogre/src/public/style.css' #9

Closed
ahayes opened this issue Jan 7, 2013 · 2 comments
Closed

Comments

@ahayes
Copy link

ahayes commented Jan 7, 2013

Hello. Thanks for Ogre. :)

I've installed node.js and npm to be able to run ogre locally and it seems to work when running as root, but when I run under my account it gives the following error. I appear to be able to read the file so I'm a bit stumped. Is it trying to write to it?

ahayes@devel:~$ ogre
Ogre started, listening on port 3000
{ [Error: EACCES, open '/usr/lib/node_modules/ogre/src/public/style.css']
errno: 3,
code: 'EACCES',
path: '/usr/lib/node_modules/ogre/src/public/style.css' }

^Z
[2]+ Stopped ogre
ahayes@devel:$ bg
[2]+ ogre &
ahayes@devel:
$ ls -al /usr/lib/node_modules/ogre/src/public/style.css
-rw-r--r-- 1 nobody root 203 Jan 7 16:22 /usr/lib/node_modules/ogre/src/public/style.css

@wavded
Copy link
Owner

wavded commented Jan 8, 2013

yeah, stylus compiles the css file (and writes it out) when the server loads, you could install it locally instead

@wavded
Copy link
Owner

wavded commented Mar 22, 2013

hey @ahayes, it was really lame to keep stylus around as its generates a five line css file :), so hopefully that should work better for you, let me know if you have any other issues

@wavded wavded closed this as completed Mar 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants