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

Console messages not showing up in console. #3246

Closed
briandeheus opened this issue Jan 2, 2020 · 16 comments
Closed

Console messages not showing up in console. #3246

briandeheus opened this issue Jan 2, 2020 · 16 comments

Comments

@briandeheus
Copy link

briandeheus commented Jan 2, 2020

🐛 bug report

Description of the problem

Messages sent to console via console.log, console.debug, console.warn et cetera are not showing up in the console section of codesandbox.

When opening the sandbox in a separate window, outside of the codesandbox GUI, it does show up in the native browser console.

In the browser native console the message does show up, but then inexplicably codesandbox clears the console and my console becomes empty again except for the message Console was cleared..

How has this issue affected you? What are you trying to accomplish?

I'm trying to understand how my application works by sending log messages to console.

Link to sandbox: yeet

Your Environment

Software Name/Version
Сodesandbox PROD-1577119298-c52f70238
Browser Firefox 71.0 (64-bit)
Browser Chrome 79.0.3945.88
Operating System Ubuntu 18.04.3 LTS
@SaraVieira
Copy link
Contributor

Hey!

This is a bug but you can fix half of it by removing the console clearing, you can do that by

  • clicking on your avatar
  • Clicking preferences
  • Select Preview
  • Turn off "Clear console"

This only fixes it in a new window, it's still a bug in the codesandbox window :(

@danielvanc
Copy link

danielvanc commented Jan 15, 2020

Is there any update on this yet? I too am not getting console messages when I should. Opening in a new window and in the browsers console, i get the error:

"POST https://codesandbox.io/api/v1/sandboxes/9f5vv/cache 404"

Mine is a private sandbox linked to a private repo.

(Am also on the same version of chrome - as above but on MacOS Catalina)

@danielvanc
Copy link

Also, If i run the project locally, on my machine, I get the console messages so the problem definately points to codesandbox.

@lbogdan
Copy link
Contributor

lbogdan commented Jan 27, 2020

Hey @briandeheus ,

The sandbox you linked to no longer works. Is this still an issue for you?

@briandeheus
Copy link
Author

Hi @lbogdan I think the issue has been resolved. I attempted to recreate the issue here and I can no longer reproduce.

@HartS
Copy link

HartS commented Feb 19, 2021

Not sure if there was a regression, or it's browser-related. In Chrome 88 the above link (https://codesandbox.io/s/pensive-mendeleev-9ozdc) doesn't show anything in the console tray for me, though the message (and a whole bunch of errors) show up in my Chrome Devtools console

@HartS
Copy link

HartS commented Feb 19, 2021

@CompuIves are you the maintainer? I don't have the ability to reopen this issue.

@diegoMontesinos
Copy link

The issue remains. See the sandbox shared by @briandeheus.

@CompuIves CompuIves reopened this Feb 20, 2021
@diegoMontesinos
Copy link

Any news on this issue @lbogdan ?

@EtErNaLiFe12
Copy link

I still have same issue with this..... any upcoming update yet?

@jodavaga
Copy link

jodavaga commented Apr 8, 2021

Hey could anyone please help us. console logs are not being displayed on the integrated console window.

@andrasbacsai
Copy link
Contributor

Yeah, I can confirm it's still an issue on the linked example.

@lbogdan
Copy link
Contributor

lbogdan commented May 25, 2021

Closing, as this now works fine in the linked sandbox:

image

(most probably) Fixed by 546f4d0 .

Please re-open or comment if this is still and issue for you.

@lbogdan lbogdan closed this as completed May 25, 2021
@ArtMooney
Copy link

Happens here and then still for me

@Lastrick1
Copy link

Happening today for me.

@sannek
Copy link
Contributor

sannek commented Sep 5, 2022

@Lastrick1 -- could you make a new issue and include a link to the sandbox that is giving you trouble?

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