You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\formation\jlg-test>npm start
> start
> nodemon src/index.ts
[nodemon] 2.0.6
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node src/index.ts`
'ts-node' is not recognized as an internal or external command,
operable program or batch file.
[nodemon] app crashed - waiting for file changes before starting...
Expected Behavior:
As with the previous npm version,
> start
> nodemon src/index.ts
[nodemon] 2.0.6
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node src\index.ts`
Try npm run lint/fix!
[nodemon] clean exit - waiting for changes before restart
Steps To Reproduce:
mkdir jlg-test
cd jlg-test
npx gts init
npm i -D nodemon
npm i -D ts-node
add inside the package.json the start scripts:
"start": "nodemon src/index.ts"
Environment:
OS: Windows 10
Node v15.4.0
npm 7.0.15
The text was updated successfully, but these errors were encountered:
@jlguenego appreciate you filing this; That said, I'm not sure what we can do here as this seems like it would be an issue with nodemon; I'd also not that we've made several improvements/fixes to v7 since you first reported this & I'd encourage you to try out the latest release to see if it's resolved any problems (ie. npm i -g npm@7). If you're still experiencing issues, I'd file a bug with nodemon
Note on possible duplicata: I have searched without success an existing issue with nodemon and ts-node, but not found.
Current Behavior:
Scripts declared in
package.json
under thescripts
section do not behave as previous npm version (<7).Example with nodemon, and ts-node (typescript):
Expected Behavior:
As with the previous npm version,
Steps To Reproduce:
add inside the
package.json
thestart
scripts:Environment:
OS: Windows 10
Node v15.4.0
npm 7.0.15
The text was updated successfully, but these errors were encountered: