EQuimper / twitter-clone-with-graphql-reactnative

164 stars 71 forks source link

'nodemon' is not recognized as an internal or external command #60

Closed devnshankar closed 10 months ago

devnshankar commented 10 months ago

My Env configuration

  1. Windows 11
  2. Vscode
  3. Powershell
  4. Yarn

    I Went through your entire process without any changes but when for the first time I ran the server using yarn dev the following issue came up

    src>yarn dev
    yarn run v1.22.19
    $ cross-env NODE_ENV=dev nodemon --exec babel-node src/index.js
    'nodemon' is not recognized as an internal or external command,
    operable program or batch file.
    node:events:492
      throw er; // Unhandled 'error' event
      ^

    Solution

I just simply added the nodemon dependency to the package.json and that seems to solve my issue. I raised this card so that if anyone else using windows faces this same issue then they can just follow up. Great videos and tutorial btw hats off to you man🤗

devnshankar commented 10 months ago

I just found out that later in the video you have installed nodemon but in my particular case i faced the issue beforehand just letting you know that it's all set. Everything works fine👍