not-test onProcessExit: process exit with code=127
See original GitHub issueEnvironment
vscode-jest version
: v4.4.0node -v
: v17.1.0npm -v
: 8.1.4npm ls jest
: jest@28.1.0- your vscode-jest settings if customized: https://github.com/201flaviosilva/HillClimbing.js/blob/main/jest.config.js
- Operating system: Mac OS Monterey 12.3.1 (21E258)
Prerequisite
- are you able to run jest test from the command line? Yes
- how do you run your tests from the command line?
npm run test
ornpm run start:test
Steps to Reproduce
This is my working repository: https://github.com/201flaviosilva/HillClimbing.js
Relevant Debug Info
not-test onProcessExit: process exit with code=127, signal=undefined
see troubleshooting: https://github.com/jest-community/vscode-jest/blob/master/README.md#troubleshooting
env: node: No such file or directory
Jest process "watch-tests" ended unexpectedly
see troubleshooting: https://github.com/jest-community/vscode-jest/blob/master/README.md#troubleshooting
Expected Behavior
To run the test with any problem
Actual Behavior
Not run the tests and print this error:

Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Whenever I create a new file, the Jest extension ... - GitHub
... for Jest opens with an error. not-test-4 is scheduled not-test onProcessExit: process exit with code=127, signal=undefined see troubl...
Read more >stubbing process.exit with jest - Stack Overflow
Nice answer! PS: There is no need to pass an arrow function for mockImplementation unless you must set a variable on test scope...
Read more >npm install -> Error: Process completed with exit code 1-bash
It looks like something in your project is using node-sass, which contains libsass which is deprecated. If it is a direct dependency, you...
Read more >npmsearchfullcat_npm143.txt - GitHub
=btford 2013-07-29 0.0.2 testing test mock spy 06_byvoidmodule 你好 ... 123 123 =feitian 2013-12-20 0.0.1 123 127-ssh Capture your command not found and ......
Read more >Release notes — fish-shell 3.4.1 documentation
command -v returns an exit status of 127 instead of 1 if no command was found ... wait and on-process-exit work correctly with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m having the same issue but lacking
env: node: No such file or directory
in the logs. It’s justnot-test onProcessExit: process exit with code=127, signal=undefined
without further logs.Yap, I think I will wait until it’s solved 😃