Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 'ts-node' is not recognized as an internal or external command #4083

Closed
2 tasks done
milon27 opened this issue Nov 23, 2021 · 3 comments
Closed
2 tasks done

[BUG] 'ts-node' is not recognized as an internal or external command #4083

milon27 opened this issue Nov 23, 2021 · 3 comments
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release

Comments

@milon27
Copy link

milon27 commented Nov 23, 2021

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

#package.json file script

nodemon index.ts

'ts-node' is not recognized as an internal or external command #1951

Expected Behavior

it was running on npm 6.. properly.

Steps To Reproduce

  1. in a typescript project.
  2. just run nodemon index.ts
  3. it will give 'ts-node' is not recognized as an internal or external command but ts-node is already installed as dev-dependency.

Environment

  • npm: 8..
  • Node: 16.3.*
  • OS: windows
  • platform: windows
@milon27 milon27 added Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release labels Nov 23, 2021
@ljharb
Copy link
Contributor

ljharb commented Nov 23, 2021

That seems like an issue with nodemon, not with npm - does npx ts-node work?

@milon27
Copy link
Author

milon27 commented Nov 24, 2021

npx ts-node yes it working

@ljharb
Copy link
Contributor

ljharb commented Nov 24, 2021

In that case, please file an issue on nodemon.

@ljharb ljharb closed this as completed Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release
Projects
None yet
Development

No branches or pull requests

2 participants