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

The prop value with an expression type of SequenceExpression could not be resolved. Please file issue to get this fixed immediately. #3120

Closed
inblack67 opened this issue Jul 19, 2020 · 14 comments

Comments

@inblack67
Copy link

I was just contributing to the docs a few minutes ago and after running

yarn check

got this warning

"The prop value with an expression type of SequenceExpression could not be resolved. Please file issue to get this fixed immediately." .

Thought I'd let you know.

@rickhanlonii
Copy link
Member

Do you mean yarn lint?

I get this as well, seems to be an eslint issue. Do you want to upgrade our eslint version to see if it fixes it?

Screen Shot 2020-07-19 at 3 13 39 PM

@inblack67
Copy link
Author

I meant

yarn check-all

I tried upgrading eslint. No help!

@nawazkhan
Copy link

jsx-eslint/jsx-ast-utils#95 could be the issue blocking.

@rrhg
Copy link
Contributor

rrhg commented Oct 8, 2020

jsx-eslint/jsx-ast-utils#101 was merged & should fix this.

@rickhanlonii
Copy link
Member

@rrhg do you want to submit the PR to upgrade?

@rrhg
Copy link
Contributor

rrhg commented Oct 14, 2020

I can try. If someone could provide some guidance that would be great. Thanks.

@rickhanlonii
Copy link
Member

@rrhg first step would be to figure out which dependency is using it and get that package to publish an upgraded version with the fix, then upgrade the version we use.

@rrhg
Copy link
Contributor

rrhg commented Oct 16, 2020

Did some research & if I understand correctly, the 2 dependencies using it are eslint-plugin-react & eslint-plugin-jsx-a11y.

eslint-plugin-react has a newer release tag (v7.21.4) that updated jsx-ast-utils to 3.0.0 & should fix this.

But for eslint-plugin-jsx-a11y, we have to wait for an active branch (v6.4.0) to be merged. Apparently it should be ready soon.

@rickhanlonii
Copy link
Member

Thanks for looking into it @rrhg!

@webrafaelso
Copy link

Please update this thread if this already fixed. thanks

rrhg added a commit to rrhg/reactjs.org that referenced this issue Nov 4, 2020
These updates fix issue reactjs#3120. The real problem was in jsx-ast-utils
which is a dependency of both eslint-plugin-react &
eslint-plugin-jsx-a11y
@darbandi
Copy link

1.Install eslint-plugin-react-hooks@4.1.2
2.Run yarn eslint src --ext=js,jsx,ts,tsx

fix it

rickhanlonii pushed a commit that referenced this issue Jan 27, 2021
….1 (#3370)

These updates fix issue #3120. The real problem was in jsx-ast-utils
which is a dependency of both eslint-plugin-react &
eslint-plugin-jsx-a11y
@rickhanlonii
Copy link
Member

Merged the fix, please let us know if this is still an issue after pulling and re-running yarn.

@samirarezai
Copy link

you need to update react-scripts to solve this problem in package.json :

"react-scripts": "^5.0.0",

@sumantaparida
Copy link

1.Install eslint-plugin-react-hooks@4.1.2 2.Run yarn eslint src --ext=js,jsx,ts,tsx

fix it

Not work

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

No branches or pull requests

8 participants