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.

Typescript version isssue

See original GitHub issue

As per docs ran the ... create-react-app --typescript command. I eject it. yarn start it. The project runs but before server is up after hitting the command yarn startThere is a warning that says "TYPESCRIPT supported versions are >3.2.0 and ❤️.5.0 ".

I’m afraid I didn’t manually upgrade typescript version but did have to run yarn install after ejecting.

The current version of typescript installed is 3.5.1.

Should I consider this warning as serious and degrade my typescript?

EXACT ERROR:


WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.2.1 <3.5.0

YOUR TYPESCRIPT VERSION: 3.5.1

Please only submit bug reports when using the officially supported version.

=============

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:11
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
wilbocommented, Jun 5, 2019

Found related issue in TypeScript ESLint: https://github.com/typescript-eslint/typescript-eslint/issues/577

I think it will be fixed soon.

0reactions
svicaliforniacommented, Jun 17, 2019

Per the typescript-eslint docs, I tried to suppress this error by falsifying the warnOnUnsupportedTypeScriptVersion parser option in eslintConfig in package.json:

  "eslintConfig": {
    "extends": "react-app",
    "parserOptions": {
      "warnOnUnsupportedTypeScriptVersion": false
    }
  },

But the error message still shows on npm start. Any idea why this didn’t work?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Typescript version issue while upgrading to Angular 12
1 Answer 1 · There's no reference for typescript 4.5.4 in my code. I still ran uninstall command for it as you suggested....
Read more >
Documentation - TypeScript 3.9
If you've been stuck on older versions of TypeScript due to issues around Promise s, we encourage you to give 3.9 a shot!...
Read more >
Issues · microsoft/TypeScript - GitHub
TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issues · microsoft/TypeScript.
Read more >
Typescript problem after vs update - Visual Studio Feedback
My project don't compile in last version of visual studio, i get this compile error "Your project is built using TypeScript 2.3, but...
Read more >
typescript - npm
TypeScript is a language for application scale JavaScript development. Latest version: 4.9.4, last published: 20 days 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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found