question-mark
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.

Out-of-the-box `npm test` fails

See original GitHub issue

Current Behavior

$ npx tsdx create tsdx-test
$ cd tsdx-test && npm test

> tsdxTest@0.1.0 test /Users/jasonetco/dev/tsdx-test
> tsdx test

● Validation Error:

  Module /Users/jasonetco/dev/tsdx-test/node_modules/tsdx/node_modules/ts-jest in the transform option was not found.
         <rootDir> is: /Users/jasonetco/dev/tsdx-test

  Configuration Documentation:
  https://jestjs.io/docs/configuration.html

npm ERR! Test failed.  See above for more details.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jaredpalmercommented, Jan 26, 2019

yarn link bites me again

0reactions
JasonEtcocommented, Jan 31, 2019

Ah ok that’s pretty rad. I still wouldn’t prefer it, but that’s a-okay 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Out-of-the-box `npm test` fails · Issue #4 · jaredpalmer/tsdx
Current Behavior $ npx tsdx create tsdx-test $ cd tsdx-test && npm test > tsdxTest@0.1.0 test /Users/jasonetco/dev/tsdx-test > tsdx test ○ Validation ...
Read more >
How to find the root cause of a failing test if Jest doesn't tell ...
I've been using Jest in both frontend applications (e.g. with Angular) and in Node.js based services (e.g. Express.js) for quite a while.
Read more >
node.js - Angular Quickstart fails karma testing out of the box - Stack ...
Error shown in complete logs below. The full error message resulting after the final command is as follows: C:\projects\temp\quickstart>npm test ...
Read more >
jest - npm
Delightful JavaScript Testing. ... Works out of the box for any React project. Instant Feedback: Failed tests run first.
Read more >
Running Tests | Create React App
When you run npm test , Jest will launch in watch mode *. Every time you save a file, it will re-run the...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found