Created
December 6, 2016 03:22
-
-
Save h4n2k/25e78325565ceed6af0e21264cd5c471 to your computer and use it in GitHub Desktop.
[nodemon] Internal watch failed: watch ENOSPC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nodemon] 1.8.1 | |
[nodemon] to restart at any time, enterrs | |
[nodemon] watching: *.* | |
[nodemon] startingnode app.js | |
[nodemon] Internal watch failed: watch ENOSPC | |
echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
This worked for me
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
step1)
sudo npm install mongodb@latest
step2)
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
step3)
sudo apt-get update
step4)
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse
step5)
sudo apt-get install MongoDB
step6)
nodemon serve
hopefully, it solved the same error I am facing while working on Angular8 with Nodejs and using MongoDB as a database.
for fetching above steps I follow the following links:-
1)https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-debian/
2)https://stackoverflow.com/questions/28945921/e-unable-to-locate-package-mongodb-org.
3)https://stackoverflow.com/questions/34733340/mongodb-gpg-invalid-signatures
that's all .. :)