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

can't launch nodemon #47

Closed
j0hn opened this issue Dec 17, 2011 · 2 comments
Closed

can't launch nodemon #47

j0hn opened this issue Dec 17, 2011 · 2 comments

Comments

@j0hn
Copy link

j0hn commented Dec 17, 2011

I can't run nodemon on the simplest node.js app, i get this error:

$ nodemon main.js
17 Dec 16:29:11 - [nodemon] v0.5.7
17 Dec 16:29:11 - [nodemon] watching: /media/Datos/j0hn/Code/js/node/simple
17 Dec 16:29:11 - [nodemon] running main.js
17 Dec 16:29:11 - [nodemon] starting node

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: UNKNOWN, unknown error './.monitor'
    at Object.chmodSync (fs.js:509:18)
    at Object.<anonymous> (/usr/lib/node_modules/nodemon/nodemon.js:277:4)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)
    at Array.0 (module.js:470:10)
    at EventEmitter._tickCallback (node.js:192:40)
zsh: exit 1     nodemon main.js
$

the content of main.js it's just:

var http = require("http");

var server = http.createServer(function(req, res){
    res.writeHead(200);
    res.end("hhelllaskd asdi o");

});

server.listen(8080);

My version of node it's 0.6.6 and the version of nodemon 0.5.7 and i've installed nodemon from npm.

Any clue on how to get this working?

@remy
Copy link
Owner

remy commented Dec 17, 2011

When nodemon runs it creates a file called .monitor - it might be that it doesn't have permission to write this file perhaps? Can you check permissions.

@j0hn
Copy link
Author

j0hn commented Dec 17, 2011

oh, i was working on a NTFS partition, I've moved the files to a ext-4 file system and worked. That was it.

@remy remy closed this as completed Dec 18, 2011
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