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

Annoying Error in console #640

Open
alieldeba opened this issue Jun 7, 2022 · 11 comments
Open

Annoying Error in console #640

alieldeba opened this issue Jun 7, 2022 · 11 comments

Comments

@alieldeba
Copy link

in the last module of the free react course in chapters 8, 9, and even more of the notes app, it always gets me that error in the console and it does not appear to the teacher why?

!Error: Unknown error (/node_modules/react-dom/cjs/react-dom.development.js:3994)
!The above error occurred in the <App> component: at App (exe1.bundle.js:43:44) Consider adding an error boundary to your tree to customize error handling behavior. Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
›Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information. (/node_modules/react-dom/cjs/react-dom.development.js:4005)
@Adrakali
Copy link

I have the same problem.

@KarolSongin
Copy link

KarolSongin commented Oct 9, 2022

Hello, I was encountering the same thing and could not continue the challenges. So I tried few things and for me, it helped when I deleted line 18 from App.js (console.log(JSON.stringify(notes[0].body)))
and saved.

I suspect that this is the issue with Scrimba "sandbox" way of working.

Let me know if removing line 18 helped you.

Thanks
Karol

@hamzaxezzat
Copy link

hamzaxezzat commented Dec 17, 2022

Hello,

I was have the same problem and I solved it by: Clear LocalStorage from : (inspect>Application>LocalStorage)

Screenshot 2022-12-17 at 1 30 55 PM

@lil-bee
Copy link

lil-bee commented Dec 22, 2022

Hello,

I was have the same problem and I solved it by: Clear LocalStorage from : (inspect>Application>LocalStorage)

Screenshot 2022-12-17 at 1 30 55 PM

i try it but i still have the problem

@LurieK
Copy link

LurieK commented Aug 11, 2023

Hello All! I am having this issue as well but way earlier in the course. I just started custom components and am using my own scrim so I can practice with React18. When I test my code on codesandbox it works fine but on scrimba it returns unknown errors. I tried clearing my localStorage as advised above but am still not getting anything. Other suggestions or feedback would be appreciated.

@Brandonagil
Copy link

Hello All! I am having this issue as well but way earlier in the course. I just started custom components and am using my own scrim so I can practice with React18. When I test my code on codesandbox it works fine but on scrimba it returns unknown errors. I tried clearing my localStorage as advised above but am still not getting anything. Other suggestions or feedback would be appreciated.

i have the same problem.

@LurieK
Copy link

LurieK commented Sep 5, 2023

Hey All! I ended up just using codesandbox. Another benefit is that with that, you can connect it to GitHub and save your commits. This has been really useful for note-taking and tracking certain concepts. Doesn't solve everyone's issue but it has worked for me.

@joel-wlf
Copy link

This issue still exists...

@CSM176
Copy link

CSM176 commented Dec 31, 2023

it's still happening for me...

@CodingRockz
Copy link

still exists. Work around is to add manually dependencies [email protected]

@joel-wlf
Copy link

joel-wlf commented Jan 6, 2024

Do you mean openai? Do you need to import it somewhere?

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

No branches or pull requests

10 participants