exercism / support

Please use https://github.com/exercism/exercism for opening support issues.
3 stars 3 forks source link

Jest is not recognized as an internal or external command #92

Open prikx opened 4 years ago

prikx commented 4 years ago

I just started the javascript track finished and submitted Hello World, but when I was to test the two-fer code and entered "npm test" I got this error:

exercism-javascript@1.2.0 test C:\Users\patrick\Exercism\javascript\two-fer jest --no-cache ./*

'jest' is not recognized as an internal or external command, operable program or batch file. npm ERR! Test failed. See above for more details.

Troubleshooting Information

Version

Current: 3.0.13 Latest: 3.0.13

Operating System

OS: windows Architecture: amd64

Configuration

Home: C:\Users\Patrick Workspace: C:\Users\Patrick\Exercism Config: C:\Users\Patrick\AppData\Roaming\exercism API key: d8ae*****57f

API Reachability

GitHub:

Exercism:

NobbZ commented 4 years ago

Have you run npm install in the two-fer folder?

cc @exercism/javascript

github-actions[bot] commented 4 years ago

This repository is restricted to Exercism's core team. Please open issues in exercism/exercism/issues.

prajwalpoojary commented 3 years ago

I'm having the same issue. Does anyone have a workaround for this problem?

SleeplessByte commented 3 years ago

This usually happens when npm install hasn't ran. Have you've ran npm install? You'll need to do this for each exercise you work on.