You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you like to use TypeScript? … [No] / Yes
✔ Would you like to use ESLint? … No / [Yes]
✔ Would you like to use Tailwind CSS? … No / [Yes]
✔ Would you like your code inside a src/ directory? … No / [Yes]
✔ Would you like to use App Router? (recommended) … No / [Yes]
✔ Would you like to use Turbopack for next dev? … No / [Yes]
✔ Would you like to customize the import alias (@/* by default)? … [No] / Yes
yarn install
At this step, nextjs keep asking for typescript
/Users/ductran/Documents/Testing/my-app/node_modules/@eslint/eslintrc/lib/config-array-factory.js
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Current vs. Expected behavior
The bug happen when setting the project with no typescript. If setting the project with typescript it work perfectly fine.
Provide environment information
Node : v23.8.0
Which area(s) are affected? (Select all that apply)
Linting
Which stage(s) are affected? (Select all that apply)
Other (Deployed)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Link to the code that reproduces this issue
https://github.com/mangekyo-user/nextjs-issue
To Reproduce
Start project with
yarn create next-app
Would you like to use TypeScript? … [No] / Yes
✔ Would you like to use ESLint? … No / [Yes]
✔ Would you like to use Tailwind CSS? … No / [Yes]
✔ Would you like your code inside a
src/
directory? … No / [Yes]✔ Would you like to use App Router? (recommended) … No / [Yes]
✔ Would you like to use Turbopack for
next dev
? … No / [Yes]✔ Would you like to customize the import alias (
@/*
by default)? … [No] / Yesyarn install
At this step, nextjs keep asking for typescript
warning "eslint-config-next > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.9.0".
warning "eslint-config-next > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.9.0".
warning "eslint-config-next > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=4.8.4".
warning "eslint-config-next > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.9.0".
warning "eslint-config-next > @typescript-eslint/parser > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.9.0".
warning "eslint-config-next > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "typescript@>=4.8.4 <5.9.0".
Error came in here
Failed to load parser '@typescript-eslint/parser' declared in ' » eslint-config-next/core-web-vitals » /Users/ductran/Documents/Testing/my-app/node_modules/eslint-config-next/index.js#overrides[0]': Cannot find module 'typescript'
Require stack:
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Current vs. Expected behavior
The bug happen when setting the project with no typescript. If setting the project with typescript it work perfectly fine.
Provide environment information
Node : v23.8.0
Which area(s) are affected? (Select all that apply)
Linting
Which stage(s) are affected? (Select all that apply)
Other (Deployed)
Additional context
No response
The text was updated successfully, but these errors were encountered: