formulahendry / formulahendry/vscode-code-runner

[Bug] Code run does not show result on vccode out put console

Open
#757 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: 1.54.3
- OS Version: ubuntu 20.04
- Code Runner Version: 0.11.3

**Describe the bug**
Today I realized that Output only shows the empty result in a .js file as seen below. I tried a simple code "console.log ('test');" and shows the result below.

_**[Running] node "/home/jonathan/Documentos/turma_10_tribo_b/trybe-exercises/Bloco 7/7.2/objParte1.js"

[Done] exited with code=0 in 0.14 seconds**_

**To Reproduce**
Steps to reproduce the behavior:

1. digit consolo.log('hello');
2. i give CTRL+ALT+N

**Actual behavior**
this only appears on the vscode console

[Running] node "/home/jonathan/Documentos/turma_10_tribo_b/trybe-exercises/Bloco 7/7.2/objParte1.js"

[Done] exited with code=0 in 0.14 seconds*

**Expected behavior**
should print what I requested in the console.log

[Running] node "/home/jonathan/Documentos/turma_10_tribo_b/trybe-exercises/Bloco 7/7.2/objParte1.js"
hello
[Done] exited with code=0 in 0.14 seconds*

**Screenshots**
If applicable, add screenshots to help explain your problem.
![Captura de tela de 2021-03-25 18-06-26](https://user-images.githubusercontent.com/49069814/112564819-b7156c00-8dba-11eb-9003-3f853b4ee388.png)

run on the terminal it prints, but on the console it doesn't

![Captura de tela de 2021-03-25 18-07-47](https://user-images.githubusercontent.com/49069814/112564939-e6c47400-8dba-11eb-8008-51c736727b6b.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.