node-dev icon indicating copy to clipboard operation
node-dev copied to clipboard

Error: ENOENT, No such file or directory './4913'

Open frankpinto opened this issue 14 years ago • 4 comments

Issue on Ubuntu 11.04 Natty Narwhal, Node.JS version v.0.4.7, using npm and nvm for package and version management respectively.

Ran the script below with 'node-dev testing.js':

var http = require('http');

http.createServer(function(req, res) { res.write('testing this now...'); res.end(); }).listen(6404);

It served the request fine. Upon changing the file, however, I got this error:

fs.js:400 return binding.stat(path); ^ Error: ENOENT, No such file or directory './4913' at Object.statSync (fs.js:400:18) at Inotify.callback as 1

Let me know if you need more information

Thanks! Frank

frankpinto avatar Jul 08 '11 22:07 frankpinto

Just tested node v0.4.0 and it works fine. Issue exists in 0.4.6 and 0.4.9, however.

frankpinto avatar Jul 08 '11 22:07 frankpinto

Works for me with 0.4.8 and 0.4.9

Tell me more details. Do you have symlinks?

iliakan avatar Jul 09 '11 03:07 iliakan

No symlinks. Just tested in 0.4.8 and it also didn't work. The only thing in my setup is the script above. Thanks!

frankpinto avatar Jul 09 '11 15:07 frankpinto

same here, Arch Linux, expressjs nodejs 0.4.10

cqpx avatar Jul 24 '11 11:07 cqpx