Issue with Typescript project
See original GitHub issueIssue is described here: https://github.com/nuxt/create-nuxt-app/issues/546
After a little digging, the problem is due to vue-jest@4.0.0-beta.3
If I replace it with vue-jest@4.0.0-beta.2
, the issue disappears
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:6
Top Results From Across the Web
Common TypeScript module problems and how to solve them
Solution 1: Locate the correct directory ... When we use this configuration, TypeScript compiler “jumps” up a directory from the src directory and ......
Read more >Issues · microsoft/TypeScript - GitHub
TypeScript is a superset of JavaScript that compiles to clean JavaScript output. ... Project with references but no input files fails to report...
Read more >Documentation - Project References - TypeScript
Project references are a new feature in TypeScript 3.0 that allow you to structure your TypeScript programs into smaller pieces.
Read more >TypeScript "Show project errors" not working correctly
Disable "show project errors" in TS Panel · Change a function name of a method in file1 that is used in other ts...
Read more >Typescript problem after vs update - Visual Studio Feedback
Your project may be using TypeScript language features that will result in errors when compiling with this version of the TypeScript compiler. To...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Error occurs here: https://github.com/vuejs/vue-jest/blob/master/lib/utils.js#L69
In
ts-jest@25.5.0
and above,ConfigSet.typescript
property has been renamed toparsedTsConfig
. (BREAKING CHANGE) Ref: https://github.com/kulshekhar/ts-jest/commit/720c8546578bdbb3d6525581fbeffce82016dba5However, this package specifies
^25.2.1
, which includesv25.5
and later.ts-jest
DOES NOT use SemVer for versioning. Therefore, version specification should be careful.Workaround
Install
ts-jest@25.4.0
explicitlyIf you use Yarn, fix
yarn.lock
like thisTo solve this issue, we can take one of three approaches:
25.5
.ts-jest
to25.5.x
in package.json, and fix lib/utils.js.parsedTsConfig
ortypescript
property.What should I do?