What is the issue “node” is working but “nodemon” is not woking on windows 7 64-bit in node.js?

前端 未结 2 578
心在旅途
心在旅途 2020-12-19 06:20

I am new to node.js. node is working fine but when I installed the nodemon package, it gives an error: exception in nodemon killing node

2条回答
  •  囚心锁ツ
    2020-12-19 07:09

    Possible solutions.

    1. Permissions

    Problem maybe in your file permissions. Execute in git bash or from windows way of giving full permission to the project folder.

    $ chmod -R 777 [folder] 
    

    2. Environment Variables

    Missing "C:\Windows\System32\" in the PATH.

    Github issue

    3. Reinstall

    Completely remove nodemon using npm and try reinstalling.

    npm uninstall -g nodemon
    

    4. Update nodejs

    If you have and old version of nodejs, try updating it. I prefer completely removing nodejs and reinstalling it again.

    Step by steps to remove nodejs in windows

    Note: Your question maybe not rich enough to give an correct answer. please include more information about the question if this 2 solutions didn't work.

提交回复
热议问题