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

why does Quokka not logging any outpyt on typing //? #999

Open
uuc110 opened this issue Feb 16, 2025 · 1 comment
Open

why does Quokka not logging any outpyt on typing //? #999

uuc110 opened this issue Feb 16, 2025 · 1 comment

Comments

@uuc110
Copy link

uuc110 commented Feb 16, 2025

I'm currently using trial version for 2 weeks. In my work repository which is quite big. constatly need to log value to see what is coming from where. and what I see is that, qokka is just not doing anything when I tyep console log it doesn't give any value, when I enable log on selection it doens't give any value. do i need to configure it differently for my Next 12 project to make ir work?

@smcenlly
Copy link
Member

Quokka runs your code in node.js. If your code doesn't have any executable parts (e.g. is just a function declaration) then it is expected that you won't see any values. You will only see values when your code actually executes / does something.

If you think it should be working, can you please provide a code sample that's not working for you? If you're working in a Next.js project, you will need to use the Quokka Snaps feature or else make sure your code is executing correctly.

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

2 participants