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

JSXEmptyExpression could not be resolved #137

Open
bilelsalemdev opened this issue Jan 7, 2024 · 2 comments
Open

JSXEmptyExpression could not be resolved #137

bilelsalemdev opened this issue Jan 7, 2024 · 2 comments

Comments

@bilelsalemdev
Copy link

The prop value with an expression type of JSXEmptyExpression could not be resolved.
[Warn - 4:25:13 PM] Linting file file:///Users/old_project/apps/landing-page/src/features/portfolio/edit-portfolio/components/EditEducation.tsx took 7603ms. Please check the ESLint rules for performance issues.

@ljharb
Copy link
Member

ljharb commented Jan 7, 2024

What version of jsx-ast-utils is installed? Can you share the contents of that file?

@hitsthings
Copy link

I saw this in my VSCode terminal using the ESLint extension.

npm ls jsx-ast-utils in my repo returns

@my/workspace@ /path/to/project
└─┬ @my/eslint-config@1.0.0 -> ./packages/_eslint-config
  ├─┬ eslint-plugin-jsx-a11y@6.8.0
  │ └── jsx-ast-utils@3.3.5
  └─┬ eslint-plugin-react@7.34.1
    └── jsx-ast-utils@3.3.5 deduped

Unfortunately I didn't notice and modified the file in a way that stopped this, so I don't know what the content that produced it was.

Hope this was at least a little helpful though :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants