Skip to content

Debug code lens in package.json leaves out npm #287

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

Closed
alexr00 opened this issue Jan 31, 2020 · 1 comment
Closed

Debug code lens in package.json leaves out npm #287

alexr00 opened this issue Jan 31, 2020 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@alexr00
Copy link
Member

alexr00 commented Jan 31, 2020

From: #214 (comment)

  1. npx create-react-app my-app --template typescript
  2. Hit the debug code lens in the package.json and run tests

In the debugger terminal I see that react-scripts test is run, not npm react-scripts test, so it fails to run.

@connor4312
Copy link
Member

Ahh. I always have ./node_modules/.bin in my PATH so I never noticed, good catch

@connor4312 connor4312 added this to the January 2020 milestone Jan 31, 2020
@connor4312 connor4312 added the bug Issue identified by VS Code Team member as probable bug label Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants