0

When I try to install nodemon with npm install -g nodemon it gives me the following error:

'nodemon' is not recognized as an internal or external command,
operable program or batch file.
Mineko Kayui
  • 761
  • 4
  • 15
TalentYT
  • 97
  • 2
  • 12
  • 1
    Does this answer your question? [npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.14](https://stackoverflow.com/questions/40226745/npm-warn-notsup-skipping-optional-dependency-unsupported-platform-for-fsevents) – Prathamesh More Sep 05 '20 at 09:43
  • tried that but in the end it gives the same error and doesn't let me use nodmon saying `'nodemon' is not recognized as an internal or external command, operable program or batch file.` – TalentYT Sep 05 '20 at 10:18
  • Did you run it in the index directory where you installed nodemon in? Try installing again using `npm i --s nodemon`. – Mineko Kayui Sep 05 '20 at 10:32
  • Still doesn't work. And yes it was installed in the index directory – TalentYT Sep 06 '20 at 11:49
  • yes it works thank you so much – TalentYT Sep 08 '20 at 06:14

1 Answers1

0

It isn't a problem, as it had said, it's an optional dependency, so you don't really need it. Please refer to these answers below:

Lioness100
  • 8,260
  • 6
  • 18
  • 49
Mineko Kayui
  • 761
  • 4
  • 15