react icon indicating copy to clipboard operation
react copied to clipboard

[DevTools Bug]: "Hook parsing failed" Components tab

Open adrian19hub opened this issue 3 years ago • 5 comments

Website or app

https://studio-test-2.netlify.app/

Repro steps

click "Components" tab click on component click "parse hook names"

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

4.25.0

Error message (automated)

"Hook parsing failed"

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

adrian19hub avatar Jul 24 '22 12:07 adrian19hub

i have the same issue...

tamirmatz avatar Jul 25 '22 06:07 tamirmatz

Which component? I tried on the input box and it worked for me image

mondaychen avatar Jul 25 '22 13:07 mondaychen

Which component? I tried on the input box and it worked for me image

interesting.. None of them work for me

adrian19hub avatar Jul 26 '22 08:07 adrian19hub

Can you please provide more information, such as name and version of your browser, OS, etc., as well as devtools extension version and react version?

mondaychen avatar Jul 26 '22 18:07 mondaychen

Can you please provide more information, such as name and version of your browser, OS, etc., as well as devtools extension version and react version?

browser - Chrome 103.0.5060.134 OS - Windows 10 Pro, 21h2 19044.1826 React version - 17.0.2 Devtools version - 4.25.0 (7/13/2022)

Thanks

adrian19hub avatar Jul 28 '22 14:07 adrian19hub

anyone? :(

adrian19hub avatar Aug 07 '22 14:08 adrian19hub

I tried it on Windows 10 and it still worked for me. Can you try it on a clean profile (without any other extensions)?

mondaychen avatar Aug 08 '22 17:08 mondaychen

I tried it on Windows 10 and it still worked for me. Can you try it on a clean profile (without any other extensions)?

Tried, worked one time

adrian19hub avatar Aug 09 '22 08:08 adrian19hub

If it works for you on a clean profile, you might have some special environmental set-up that breaks the feature. Maybe you can try disable some of your other extensions, or check if you turned on some experimental Chrome feature flags.

mondaychen avatar Aug 09 '22 14:08 mondaychen

If it works for you on a clean profile, you might have some special environmental set-up that breaks the feature. Maybe you can try disable some of your other extensions, or check if you turned on some experimental Chrome feature flags.

Unfortunately it worked only one time.

adrian19hub avatar Aug 10 '22 07:08 adrian19hub

Do you mean it worked for the first time, but stopped working when you move away from the component and try parse again? Any chance you can provide a video?

mondaychen avatar Aug 10 '22 16:08 mondaychen

Do you mean it worked for the first time, but stopped working when you move away from the component and try parse again? Any chance you can provide a video?

If i recall well than yes, tried to make a video but i couldn't reproduce the issue :/

adrian19hub avatar Aug 11 '22 14:08 adrian19hub

If it's no longer an issue, can I close this?

mondaychen avatar Aug 11 '22 14:08 mondaychen

If it's no longer an issue, can I close this?

It still is :), i couldn't reproduce the solving by using clean profile.

adrian19hub avatar Aug 14 '22 07:08 adrian19hub

Hey, I am unable to reproduce this issue, and it seems as if @mondaychen was unable to reproduce this issue as well. I'm going to close this for now since we can't do anything about it, but if you are able to create a consistent repro case please feel free to reopen!

lunaruan avatar Aug 17 '22 20:08 lunaruan

Hey, I am unable to reproduce this issue, and it seems as if @mondaychen was unable to reproduce this issue as well. I'm going to close this for now since we can't do anything about it, but if you are able to create a consistent repro case please feel free to reopen!

Is it possibly related to this popup? image

adrian19hub avatar Aug 28 '22 11:08 adrian19hub

I've never gotten this to work either, but I couldn't tell you why. Always the same outcome, on every React project I have, in multiple browsers: image

ilyvion avatar Oct 29 '22 07:10 ilyvion

I've never gotten this to work either, but I couldn't tell you why. Always the same outcome, on every React project I have, in multiple browsers: image

I am facing exactly same issue in my react-ts app on Ubuntu 22. I tried it on different browsers but still same, it doesn't even show any error message except "Hook parsing failed"

back2Lobby avatar Aug 01 '23 11:08 back2Lobby