next.js
next.js copied to clipboard
Lint is not working on a fresh install
Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
Provide environment information
Operating System:
Platform: linux
Arch: x64
Version: #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022
Binaries:
Node: 16.13.1
npm: 8.19.2
Yarn: 1.22.15
pnpm: N/A
Relevant packages:
next: 13.0.0
eslint-config-next: 13.0.0
react: 18.2.0
react-dom: 18.2.0
warn - Latest canary version not detected, detected: "13.0.0", newest: "13.0.1-canary.2".
Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
Read more - https://nextjs.org/docs/messages/opening-an-issue
Which example does this report relate to?
https://beta.nextjs.org/docs/getting-started#automatic-installation
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Lint fails on a fresh install with the following error:
> [email protected] lint
> next lint
warn - You have enabled experimental feature (appDir) in next.config.js.
warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
info - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback
Failed to load config "react-app" to extend from.
Referenced from: <redacted>/package.json
Expected Behavior
Lint should've been executed successfully
To Reproduce
$ npx create-next-app@latest --experimental-app
$ cd <project_name>
$ npm run lint
Just to confirm that this is still happening on 13.0.1
Facing the same issue.
Operating System: Platform: Windows Arch: x64 Version: 22.04.1-Ubuntu on WSL 2 (Windows - 21H2 - 19044.2130) Binaries: Node: 16.18.0 npm: 8.19.2 Yarn: 1.22.19 pnpm: N/A Relevant packages: next: 13.0.1 eslint-config-next: 13.0.1 react: 18.2.0 react-dom: 18.2.0
(Also using turbopack)
Running next lint asks me for the type of configuration I want, which I then set, after which it doesn't actually do anything. If I run the same command again, it asks me the same thing again.
I am unable to reproduce this, could anyone experiencing this issue attach a reproduction repository? :pray:
This issue has been automatically closed because it received no activity for a month and had no reproduction to investigate. If you think it was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.