Comments (12)
I've created reproduction repo https://github.com/ondrejsevcik/jsx-fragment-issue-repo
when you run npm run lint
you should run into that issue as well. Hopefully this helps.
from jsx-ast-utils.
This is output of npm why jsx-ast-utils
[email protected] dev
node_modules/jsx-ast-utils
jsx-ast-utils@"^3.2.1" from [email protected]
node_modules/eslint-plugin-jsx-a11y
dev eslint-plugin-jsx-a11y@"^6.5.1" from the root project
peer eslint-plugin-jsx-a11y@"^6.5.1" from [email protected]
node_modules/eslint-config-airbnb
dev eslint-config-airbnb@"^19.0.4" from the root project
jsx-ast-utils@"^2.4.1 || ^3.0.0" from [email protected]
node_modules/eslint-plugin-react
dev eslint-plugin-react@"^7.29.4" from the root project
peer eslint-plugin-react@"^7.28.0" from [email protected]
node_modules/eslint-config-airbnb
dev eslint-config-airbnb@"^19.0.4" from the root project
from jsx-ast-utils.
Thank you for a quick fix ππ½
from jsx-ast-utils.
What version of jsx-ast-utils is installed?
from jsx-ast-utils.
That would be [email protected]
from jsx-ast-utils.
If there's any way you could narrow down which code/file is causing the failure, that would help a ton.
(and you're sure that npm ls | grep jsx-ast-utils
only returns v3.2.1?)
from jsx-ast-utils.
When I run npm install && npm run lint
, it works fine (it has some linting errors; the config needs to extend plugin:react/jsx-runtime
and set indent and react/jsx-indent to 4, plus some others).
from jsx-ast-utils.
although, i'm using jsx-ast-utils v3.2.2 which has some TS-related fixes; can you try that?
from jsx-ast-utils.
When I run npm install && npm run lint, it works fine (it has some linting errors; the config needs to extend plugin:react/jsx-runtime and set indent and react/jsx-indent to 4, plus some others).
I see those lint errors as well, but I thought it's not that important to fix them for this issue. The problem with parsing JSXFragment is still there.
although, i'm using jsx-ast-utils v3.2.2 which has some TS-related fixes; can you try that?
The reproduction repo is using also v3.2.2.
from jsx-ast-utils.
Iβm not sure why i donβt see the parsing error in your repo, but you do. What node and npm version are you using?
from jsx-ast-utils.
That's indeed strange.
node: v16.8.0
npm: 7.21.0
from jsx-ast-utils.
ahh i do see it, thanks.
from jsx-ast-utils.
Related Issues (20)
- The prop value with an expression type of `MetaProperty` could not be resolved HOT 20
- Invitation to move to official `eslint-community` org HOT 10
- The prop value with an expression type of PrivateIdentifier could not be resolved HOT 4
- The prop value with an expression type of ChainExpression could not be resolved. Please file issue to get this fixed immediately. HOT 1
- The prop value with an expression type of TSNonNullExpression could not be resolved HOT 12
- The prop value with an expression type of JSXEmptyExpression could not be resolved. HOT 7
- The prop value with an expression type of TSNonNullExpression could not be resolved.
- TSNonNullExpression could not be resolved HOT 5
- The prop value with an expression type of JSXEmptyExpression could not be resolved HOT 5
- The prop value with an expression type of AwaitExpression could not be resolved. HOT 6
- The prop value with an expression type of TSSatisfiesExpression could not be resolved. HOT 5
- Nested fragment within prop value errors out
- The prop value with an expression type of MetaProperty could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately. HOT 2
- MetaProperty HOT 1
- The prop value with an expression type of MetaProperty could not be resolved HOT 2
- ESLint error message encountered on MetaProperty HOT 7
- JSXEmptyExpression could not be resolved HOT 2
- Error with AstroShorthandAttribute HOT 4
- jsx-ast-utils shouldn't bundle redundant files for end users HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsx-ast-utils.