warp icon indicating copy to clipboard operation
warp copied to clipboard

Javascript: Console.logs do not appear when using Nodejs.

Open nrthbound opened this issue 3 years ago • 5 comments

Discord username (optional)

No response

Describe the bug

Writing a Node CLI tool, and using console.log does not always output, or if it does, it's being hidden. I've tested the same code across Warp and iTerm2 and iTerm2 renders it correctly.

To Reproduce

  1. Import inquirer to a Node project.
  2. Create an inquirer prompt of any type.
  3. When the promise resolves, console.log the returned data.

Expected behaviour

A simple console.log message when using console.log.

Screenshots

image

Operating System

MacOS

OS Version

13.1

Shell Version

zsh 5.8.1 (x86_64-apple-darwin22.0)

Warp Version

v0.2023.02.21.08.03.stable_01

Additional context

In terms of the next question Does this block you from using Warp daily? No, but it certainly makes it a hell of a lot harder to build my app without being able to see what's going on. I still love Warp, though. I love it so very much.

Does this block you from using Warp daily?

No

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

nrthbound avatar Feb 25 '23 06:02 nrthbound

Hi @nrthbound, Thank you for submitting this!

Struggling to reproduce this issue as we don't have any ready examples. Could you please provide a sample repo or files we can use to test, reproduce, and confirm this issue?

dannyneira avatar Feb 27 '23 18:02 dannyneira

Unfortunately, I can't share the repo for this project. But it seems to be when you're trying to console.log from a promise. It's not a big deal, as I can build the app with iTerm2 for testing. Just thought it was odd the exact same code shows the console log in iTerm2 just fine, but not in Warp.

On Mon, Feb 27, 2023 at 1:11 PM Danny Neira @.***> wrote:

Hi @nrthbound https://github.com/nrthbound, Thank you for submitting this!

Struggling to reproduce this issue as we don't have any ready examples. Could you please provide a sample repo or files we can use to test, reproduce, and confirm this issue?

— Reply to this email directly, view it on GitHub https://github.com/warpdotdev/Warp/issues/2711#issuecomment-1446813780, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUQKIX7N6WSIN45HPKJNITWZTU4JANCNFSM6AAAAAAVHV5AYA . You are receiving this because you were mentioned.Message ID: @.***>

nrthbound avatar Feb 27 '23 20:02 nrthbound

Any updates here? I am facing this issue

nk900600 avatar May 30 '24 03:05 nk900600

It looks like we're still awaiting more information on this issue. If the problem is still happening on the latest version of Warp, please share an update with any relevant logs, screenshots, or a short video.

If there's no activity on this issue after 3 business days, we'll close it out to help keep the issue tracker clean.


This is part of an automated backlog review and may be inaccurate. If you believe this assessment is wrong, please let us know.

warp-agent-staging avatar Apr 15 '26 19:04 warp-agent-staging

This issue has been automatically closed because it was labeled needs-info and received no response for 3 business days. If you have the requested information, please reply and we will reopen.

github-actions[bot] avatar Apr 21 '26 00:04 github-actions[bot]