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

[Bug?]: Redwood Console is not Working Properly #9356

Closed
1 task
yusufarsln98 opened this issue Oct 30, 2023 · 3 comments
Closed
1 task

[Bug?]: Redwood Console is not Working Properly #9356

yusufarsln98 opened this issue Oct 30, 2023 · 3 comments
Labels
bug/needs-info More information is needed for reproduction

Comments

@yusufarsln98
Copy link

yusufarsln98 commented Oct 30, 2023

What's not working?

Hello,
I am trying to follow the tutorial on Redwood Blog.
When I want to call database functions via redwood console, the . character I add in the middle of a line locks the console. Afterward, I can't write anything.
When I copy and paste the same function, it works.

For example, trying to write db. is breaks the console, however copying db.comment.findMany({ where: { postId: 1 }}) works fine.

How do we reproduce the bug?

Trying to write db.comment.findMany({ where: { postId: 1 }}) or something that . middle in the line. (not the beginning)

What's your environment? (If it applies)

System:
    OS: Windows 10 10.0.22621
  Binaries:
    Node: 18.12.1 - ~\AppData\Local\Temp\xfs-2d74baa5\node.CMD
    Yarn: 3.6.3 - ~\AppData\Local\Temp\xfs-2d74baa5\yarn.CMD
  Browsers:
    Edge: Chromium (118.0.2088.76)
  npmPackages:
    @redwoodjs/auth-dbauth-setup: 6.3.2 => 6.3.2 
    @redwoodjs/cli-storybook: 6.3.2 => 6.3.2 
    @redwoodjs/core: 6.3.2 => 6.3.2

Are you interested in working on this?

  • I'm interested in working on this
@yusufarsln98 yusufarsln98 added the bug/needs-info More information is needed for reproduction label Oct 30, 2023
@Josh-Walker-GM
Copy link
Collaborator

Hey 👋 Could this be the same issue as #8817? If you wait long enough after typing the . does the console become responsive again?

@yusufarsln98
Copy link
Author

yusufarsln98 commented Nov 11, 2023

Yes, It seems like same issue, sorry I didn't notice. When I looked at #8817, I realized that the problem in the terminal had nothing to do with typing . After typing db, the terminal crashes.

@Josh-Walker-GM
Copy link
Collaborator

No problem! I'll close this one and we can use the other issue to track everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/needs-info More information is needed for reproduction
Projects
None yet
Development

No branches or pull requests

2 participants