Skip to content

Stackblitz Terminal Bug #1502

@yokozuna753

Description

@yokozuna753

Describe the bug

When I first open Stackblitz and run terminal commands without modifying any code, it works fine. The moment I write lines of code and run "node problems/name-of-problem-you-are-on.js" on the terminal, after hitting the "return" key, it skips to the next line without processing any command.

Link to the blitz that caused the error

https://stackblitz.com/edit/github-e1vi1o-e8pzdf?file=problems%2F02-while-loop-translation.js

Steps to reproduce

  1. Go to Stackblitz "problems" file.
  2. write new lines of code in the code editor.
  3. run "clear" in the terminal.
  4. run "node problems/name-of-problem-you-are-on.js"

Expected behavior

I expected the terminal to test the code I wrote and return the values from the console.log function call.

Parity with Local

Screenshots

Screenshot 2024-09-06 at 10 52 27 AM

Platform

Browser name  = Chrome
Full version  = 128.0.0.0
Major version = 128
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 112162747,
  "usedJSHeapSize": 103609311,
  "jsHeapSizeLimit": 4294705152
}
Hash = 24eaa195

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions