Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Can not find jest

See original GitHub issue

Hi, just try running npm run test and found this error: Error: Cannot find module ‘/home/user/Documents/dev/test9/node_modules/@noderize/scripts/node_modules/.bin/jest’ at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:188:16) at bootstrap_node.js:609:3

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

anhnhoktvncommented, Mar 21, 2018

Thanks! it works!

Cretezycommented, Mar 21, 2018

I see the problem. npm isn’t locally linking the bin. I’ll have a fix within an hour or so

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find name 'it' in Jest TypeScript - npm - Stack Overflow
When I run the test using the command npm test , I am getting the following error: Cannot find name 'it'. Do you...
Read more >
[Sovled] Jest error Cannot find name 'it' in TypeScript
To solve the "Cannot find name 'it'" jest error, make sure to install the typings for jest - npm i -D @types/jest and...
Read more >
"Cannot find name 'jest'" Typescript error
Can't solve this problem with typescript compiler service flagging an error for TS2304: Cannot find name 'jest'. Do I need to change my...
Read more >
Visual Studio code does not recognize jest ts #196 - GitHub
I noticed that VSCode does not find the jest globals when a parent folder of a project is your current "root". Example below...
Read more >
1 - Salesforce Stack Exchange
Jest error: Cannot find module 'lightning/alert' from '.../newAccount.test.js' · Ask Question. Asked 5 months ago. Modified 5 months ago.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found