javascript - Node.JS: Getting error : [nodemon] Internal watch failed: watch ENOSPC -


i installed node.js on ubuntu 14.04 operating system first time. installed npm. next step in installation process installing nodemon. worked out fine.


but, when run nodemon typing nodemon app.js in command line, following error...

[nodemon] 1.8.1 [nodemon] restart @ time, enterrs [nodemon] watching: *.* [nodemon] startingnode app.js [nodemon] internal watch failed: watch enospc

in command line below error...

alopex@alopex:~/desktop/coding_dojo/week-9/javascript/node/testing_node$ hello world 

why happening? normal behavior nodemon? if not, how can fix it?


side notes...

1) app.js javascript file console.log(111) inside of it.
2) node version v0.10.25
3) npm version 1.3.10
4) nodemon version 1.8.1
5) ubuntu version is...

distributor id: ubuntu description:    ubuntu 14.04.3 lts release:    14.04 codename:   trusty 

it appears max ports weren't configured correctly. ran following code , worked...

echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -