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

EventCard.spec.js fails to run test Cannot find module 'babel-jest' #8

Open
elizatlawy opened this issue Apr 24, 2022 · 1 comment
Open

Comments

@elizatlawy
Copy link

I cannot run the test suite due to:


 FAIL  tests/unit/EventCard.spec.js
  ● Test suite failed to run 

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.842s
Ran all test suites.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test:unit: `vue-cli-service test:unit`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] test:unit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I tried to delete the node_modules folder and rerun npm install - it did not help.
Any idea why it is happening?

@elizatlawy
Copy link
Author

elizatlawy commented Apr 24, 2022

I was able to fix it by running: npm update after npm install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant