Nodemon: Nodemon crashes when updated to version 1.12.0

Created on 8 Sep 2017  ·  12Comments  ·  Source: remy/nodemon

Hello, today I updated nodemon to version 1.12.0 (from 1.10.2). When I run my npm command I get the following error:

'\"npm run build:dev && node compiled\server.dev.js\"' is not recognized as an internal or external command,
operable program or batch file.

When I downgrade back to 1.10.2 it works fine. I'm using "reactGo" as my boilerplate so you can see how the package.json looks here: https://github.com/reactGo/reactGo/blob/master/package.json.

Most helpful comment

I am also seeing this when I updated to the latest version. Rolling back to 1.11.0 fixed it.

All 12 comments

Can you replicate with a simplified example and help diagnose?

On Fri, 8 Sep 2017, 06:12 gittestcoder notifications@github.com wrote:

Hello, today I updated nodemon to version 1.12.0 (from 1.10.2). When I run
my npm command I get the following error:

'"npm run build:dev && node compiled\server.dev.js"' is not recognized as
an internal or external command,
operable program or batch file.

When I downgrade back to 1.10.2 it works fine. I'm using "reactGo" as my
boilerplate so you can see how the package.json looks here:
https://github.com/reactGo/reactGo/blob/master/package.json.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/remy/nodemon/issues/1091, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA1hM4fFBfnXZr6j482g6cjaL2tly77ks5sgMylgaJpZM4PQs6s
.

I am also seeing this.

Here's the simplest repro; just put this package.json in an empty dir and npm install, should print the NPM version to the console:

{
  "scripts": {
    "postinstall": "nodemon --watch Anything --exec \"npm -v\""
  },
  "devDependencies": {
    "nodemon": "1.11.0"
  }
}

Replace with the latest version and you get the above error:

{
  "scripts": {
    "postinstall": "nodemon --watch Anything --exec \"npm -v\""
  },
  "devDependencies": {
    "nodemon": "1.12.0"
  }
}

Thanks @jameswilddev, you beat me to it

I am also seeing this when I updated to the latest version. Rolling back to 1.11.0 fixed it.

Can confirm this also breaks when you run a basic express app. Just run these three commands to replicate:

npm install
nodemon

'\"node .\bin\www\"' is not recognized as an internal or external command,
operable program or batch file.

Quitting nodemon and running node .\bin\www\ works just fine.

If anyone with Windows can help with a PR, I'd be mighty grateful.

On Wed, 13 Sep 2017, 15:49 Graham Hunter notifications@github.com wrote:

Can confirm this also breaks when you run a basic express app. Just run
these three commands to replicate:

express
npm install
nodemon

'"node .\bin\www"' is not recognized as an internal or external command,

operable program or batch file.

Quitting nodemon and running node .\bin\www\ works just fine.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
https://github.com/remy/nodemon/issues/1091#issuecomment-329192227, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAA1hMTIPKLlEx8XDFH60rqpFkq6STUEks5sh-tvgaJpZM4PQs6s
.

This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up.
Thank you for contributing <3

I am unable to reproduce this with 1.12.1, 1.12.2, 1.12.3 or 1.12.14, looks fixed?

@jameswilddev woot!

Apparently, the issue still persists with new updates.
I downgraded to 1.10.0 and its working fine

@yogain123 no real details included in your report, but I'm glad you have a work around 👍

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fabianMendez picture fabianMendez  ·  4Comments

endquote picture endquote  ·  4Comments

robboerman picture robboerman  ·  3Comments

giacomorebonato picture giacomorebonato  ·  5Comments

Mohammad-Quanit picture Mohammad-Quanit  ·  5Comments