project_3D_developer_portfolio
project_3D_developer_portfolio copied to clipboard
react-jsx-dev-runtime.development.js:87 Warning: React.jsx: type is invalid -- expected a string... Experience.jsx
Hi.
When I was at the half way ot the tutorial, [1:34:25] the part of the 'Experience.jsx' file, I got that error on Console.
`react-jsx-dev-runtime.development.js:87 Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check your code at App.jsx:42. at App`
I checked line for line of the Experience.jsx file, I copy and paste the full codes as seen here on GitHub, but nothing changed. I also checked the App.jsx file to see if something wrong was there, I've found nothing strange so far.
Besides, the screen is also completely black, all started when the 'Experience' file was included, but I can't remember exactly what line of code was responsible for the error. Some other bugs I've found the answer here and on the internet, but this one got me stuck.
If anyone knows the answer. Thanks in advance.
@JuanSalvador73 If you figured this out please let me know. I have a nearly identical issue with the first part on higher order components. The about section will not recognize the HOC as a function. Q,Q same error
大哥牛逼!!!