Skip to content

wsl exits with code when running npm test #14247

@ChandanSouL

Description

@ChandanSouL

Windows Version

Microsoft windows 11 pro 24H2

WSL Version

WSL version: 2.6.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

Kernel version: 6.6.87.2-1

Distro Version

Ubuntu 24.04

Other Software

WSL version 2.6.3.0
When running npm test on my WSL ubuntu 24.04 I face this exited code
[process exited with code 1 (0x00000001)] You can now close this terminal with Ctrl+D, or press Enter to restart.
after some time.
node version is 12.22.12
While running the same npm test on my windows it runs fine, because I want to have flexibilty with my node versions (I usually change my node versions depending on projects)
is this an issue with WSL or on the node

Repro Steps

install node verison 12.22.
run npm test it fails after some time

Expected Behavior

npm test should be successfully completed operation

Actual Behavior

system errored out/exited with code 1

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions