Skip to content
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

Eslint shows error even though the dependecies are installed. #20122

Closed
1 task done
rushilp2311 opened this issue Nov 3, 2024 · 2 comments
Closed
1 task done

Eslint shows error even though the dependecies are installed. #20122

rushilp2311 opened this issue Nov 3, 2024 · 2 comments
Labels
bug [core label] eslint ESLint tooling support javascript JavaScript programming language support language An umbrella label for all programming languages syntax behaviors stale Label used by `stale` action tooling An umbrella label for language tools, linters, formatters, etc typescript TypeScript programming language support

Comments

@rushilp2311
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Installed Zed recently and opened the project.

The structure looks something like this

(Project)
 |- API (Express server)
     |- (bunch of folders)
 |- Assets (React)
     |- (Pages)
     |- package.json
 |-package.json

In a lot of the react file, I am seeing this error.

Screenshot 2024-11-02 at 9 13 38 PM

eslint: 'react' should be listed in the project's dependencies. Run 'npm i -S react' to add it and same for other packages.

How do I resolve this in Zed? This is no problem in VSCode and the app is running perfectly fine.

Environment

React and Express app

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
@rushilp2311 rushilp2311 added admin read bug [core label] labels Nov 3, 2024
@JosephTLyons JosephTLyons added typescript TypeScript programming language support javascript JavaScript programming language support language An umbrella label for all programming languages syntax behaviors eslint ESLint tooling support tooling An umbrella label for language tools, linters, formatters, etc and removed triage labels Nov 10, 2024
Copy link

Hi there! 👋
We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days.
Thanks for your help!

@github-actions github-actions bot added the stale Label used by `stale` action label Mar 18, 2025
Copy link

This issue was closed due to inactivity. If you're still experiencing this problem, please open a new issue with a link to this issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] eslint ESLint tooling support javascript JavaScript programming language support language An umbrella label for all programming languages syntax behaviors stale Label used by `stale` action tooling An umbrella label for language tools, linters, formatters, etc typescript TypeScript programming language support
Projects
None yet
Development

No branches or pull requests

2 participants