Reputation: 2194
In my react app I updated npm package to v4.7.2 and ran npm start , I have been getting this issue after
INTERNAL ERROR(undefined,undefined) Debug Failure. False expression: Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.
stack trace:
Error: Debug Failure. False expression: Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.
npm install typescript@latest ts-node@latest
but this didn't work4.7.4
to 4.4.0
, this also didn't workUpvotes: 0
Views: 4053
Reputation: 1091
It seems you need to sync versions of ts-node
and typescript
. Although I prefer using latest versions only, I ended up with these versions:
[email protected]
[email protected]
Upvotes: 2