Error in editor: "Invariant Violation: Minified React error #152"

https://www.freecodecamp.org/learn/front-end-libraries/react/create-a-react-component.

Full error message:
Invariant Violation: Minified React error #152; visit [link] for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Invariant Violation: Minified React error #152; visit [link] for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Welcome, kurtis.

That error should go away, once you follow the instructions. Have you completed the challenge?

Yes, it’s a very simple challenge. But I copied from the solution online just in case. I get the error regardless.

It seems as though you are using a different browser. Which browser and version are you using?

The error should not appear in the fCC console like that. I see it in the browser console.

I just discovered it was my own mistake after all. Missed the return keyword. Thanks for the help anyways!

1 Like