-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Required Typescript >= 4.3.2 but last version is 4.0.8 #26233
Comments
This comment has been minimized.
This comment has been minimized.
https://www.npmjs.com/package/typescript Latest version of the |
@UnPolinomio Ran the exact steps that you put in the "To Reproduce" section, but unable to get any warnings whatsoever (well, apart from the webpack 5 thing). Are you changing the typescript version in {
"name": "my-project",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"next": "11.0.0",
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"@types/react": "17.0.11",
"eslint": "7.28.0",
"eslint-config-next": "11.0.0",
"typescript": "4.3.3"
}
} |
I think is now solved. Yesterday when I visited https://www.npmjs.com/package/typescript, last Typescript version was 4.0.8 and |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
This updates TS version in `with-typescript` example to remove warning: ``` bash warn - Minimum recommended TypeScript version is v4.3.2, older versions can potentially be incompatible with Next.js. Detected: 4.0.8 ``` Thanks! Fixes vercel#26233
This updates TS version in `with-typescript` example to remove warning: ``` bash warn - Minimum recommended TypeScript version is v4.3.2, older versions can potentially be incompatible with Next.js. Detected: 4.0.8 ``` Thanks! Fixes vercel#26233
What version of Next.js are you using?
11.0.0
What version of Node.js are you using?
14.17.0
What browser are you using?
Chrome
What operating system are you using?
Windows
How are you deploying your application?
Not deploying but development environment.
Describe the Bug
After using
yarn create next-app --typescript
, when I runyarn run dev
, I get a warning.warn - Minimum recommended TypeScript version is v4.3.2, older versions can potentially be incompatible with Next.js. Detected: 4.0.8
I thinks this bug was introduced with #25867, I'm not sure though.
Expected Behavior
I would expect not to get the warning.
To Reproduce
yarn create next-app --typescript
yarn run dev
The text was updated successfully, but these errors were encountered: