Library blocks Typescript compilation
akowi-sknobloch opened this issue Β· comments
π The bug
When Trying to build a Typescript Project using magic-regexp tsc hangs indefinitely.
It just hangs and does nothing.
The Problem occurred in different projects (finding the problem the first time did cost me a good amount of time).
π οΈ To reproduce
https://stackblitz.com/edit/github-dmq6xe?file=package.json
π Expected behaviour
The build Process should go through or at least throw an error.
βΉοΈ Additional context
When using ts-node to run the Script it works for whatever reason.
I've added a build
script & a start:ts-node
script to the example.
Hi @akowi-sknobloch,
can you try adding "skipLibCheck": true
in tsconfig
and see if this resolve the issue?
edited version: https://stackblitz.com/edit/github-dmq6xe-mup3fm?file=tsconfig.json
Thanks!
Alright seems like "skipLibCheck": true
does the trick.
Does now compile without any issues.
Thank you!