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

There is redundant content output in the terminal console when running TS files #42

Open
Shadow-XT opened this issue Nov 15, 2022 · 6 comments
Labels
bug Something isn't working console help wanted Extra attention is needed

Comments

@Shadow-XT
Copy link

When I run the TS file, the terminal will display redundant content such as "] 0; D: RunEnv NodeJS node. exe", which outputs the location and redundant characters of my node executable file. Although this has no impact on the running result of the program, the redundant content will still appear ugly on the terminal, affecting my observation of the results. The specific results are shown in the figure below.The red box is the redundant output content.

image

@bluelovers bluelovers added bug Something isn't working help wanted Extra attention is needed console labels Nov 17, 2022
@Zxilly
Copy link

Zxilly commented Dec 29, 2022

Same problem
image

@SteinwaySons
Copy link

SteinwaySons commented Feb 3, 2023

Luckily, I solve this problem! First, a special thanks to "intellij-support.jetbrains.com" engineer's support!
Here is part of my request communicated with the engineer. And this link (TypeScript programming issue with WebStorm) towards my request website page.

image

We might as well go over what happened. I told the engineer what npm packages I have already installed. What I have done to my WebStorm IDE. Finally, the engineer found out that this question you asked caused by the plugin - Run Configuration for TypeScript! Those his exact words are shown in the snapshot below.
image

I put the related document link here. Hope it works for you. ws_ts_run_debug_server_side_ts_node

After reading the document carefully, I reconfigure my WS Run/Debug Configuration dialog. It works! Here is my configurations.
image
image

And here is my code and running result.
image
image

And the end, let's make a joke that we are victims of the plugin indeed. XD~~

@SteinwaySons
Copy link

@Shadow-XT Does my solution works to you?

@Shadow-XT
Copy link
Author

@SteinwaySons The method you mentioned does work, and running ts can be achieved through configuration. If it's not a bug in this plugin, I still think this plugin is more convenient to use, because with this plugin, a single ts file can be run directly by right-clicking without configuration.

@SteinwaySons
Copy link

@SteinwaySons The method you mentioned does work, and running ts can be achieved through configuration. If it's not a bug in this plugin, I still think this plugin is more convenient to use, because with this plugin, a single ts file can be run directly by right-clicking without configuration.

Yeah! I couldn't agree more. Hope someone one official could take this issue seriously!

@bluelovers
Copy link
Owner

#49 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working console help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants
@bluelovers @Zxilly @SteinwaySons @Shadow-XT and others