Error while running "node watch" command from node.js -
I am trying to run the "node clock" command for my project directory from the node terminal. This error is saying "Module can not be found" C: \ Users ...... \ watch "." I also sent it to
npm install node-watch / pre> But this also does not help.
node-clock there is nothing that you can run from the terminal . This is a library that will look for file changes and when any changes happen, callback will trigger. If you change your node java program every time you change it, you should try something like `nodoman '.
To install it: npm install -g nodemon To run your app: nodomain myprogram.js < / P>
Comments
Post a Comment