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

takana crashing on browser refresh #72

Open
ob7 opened this issue Apr 7, 2015 · 2 comments
Open

takana crashing on browser refresh #72

ob7 opened this issue Apr 7, 2015 · 2 comments

Comments

@ob7
Copy link

ob7 commented Apr 7, 2015

Hello,

When I run takana on my sites directory, everything looks good, until I hit refresh on my browser. Then I get the following error and I'm pushed back out to the command line.

fs.js:1172
throw errnoException(err, 'watch');
^
Error: watch ENOSPC
at exports._errnoException (util.js:746:11)
at FSWatcher.start (fs.js:1172:11)
at Object.fs.watch (fs.js:1198:11)
at EventEmitter.FSWatcher._watch (/usr/lib/node_modules/takana/node_modules/chokidar/index.js:253:18)
at EventEmitter.FSWatcher._handleFile (/usr/lib/node_modules/takana/node_modules/chokidar/index.js:308:8)
at /usr/lib/node_modules/takana/node_modules/chokidar/index.js:384:62
at FSReqWrap.oncomplete (fs.js:95:15)


Edit: I tried to do a reinstall, and npm gave error that it could not find python executable

running which python showed me that the system was looking for python in usr/local/bin instead of /usr/bin (as it was before). I made a ln -sf from /usr/bin/python2.7 to /usr/local/bin and now the reinstall is working. I wonder if thats why I got the error above to begin with.

Edit: Getting my python path set did not fix this problem, after reinstalling, it still persists.
I'm using takana 0.4.2. I would use 0.4.3, but theres another issue with that version in where the css file inside scratch are all blank. It outputs and even overwrites any css file in scratch directory with blank file. 0.4.2 wasn't doing that. But for whatever reason, this morning I'm getting the new error as above, and I'm unable to use takana. Please help, or I will figure it out myself.

@ob7
Copy link
Author

ob7 commented Apr 10, 2015

Still crashing...I've cleaned out the scratch directory and still no dice.

[08:44:55] [INFO] - rendered /mnt/htdocs/htdocs/big-street/css/main.css
fs.js:1172
throw errnoException(err, 'watch');
^
Error: watch ENOSPC
at exports._errnoException (util.js:746:11)
at FSWatcher.start (fs.js:1172:11)
at Object.fs.watch (fs.js:1198:11)
at EventEmitter.FSWatcher._watch (/usr/lib/node_modules/takana/node_modules/chokidar/index.js:253:18)
at EventEmitter.FSWatcher._handleFile (/usr/lib/node_modules/takana/node_modules/chokidar/index.js:3

@ob7
Copy link
Author

ob7 commented Apr 12, 2015

I upgraded to 4.3, and made sure to run takana on site root instead of my project folder root (many many websites).

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

1 participant