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

npm start on WSL2 holds time back #10899

Closed
1 of 2 tasks
lucashill1717 opened this issue Dec 10, 2023 · 3 comments
Closed
1 of 2 tasks

npm start on WSL2 holds time back #10899

lucashill1717 opened this issue Dec 10, 2023 · 3 comments
Assignees

Comments

@lucashill1717
Copy link

Windows Version

Microsoft Windows [Version 10.0.22621.2715]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-microsoft-standard-WSL2

Distro Version

Ubuntu 22.04

Other Software

Node Package Manager (npm)

Repro Steps

sudo apt install npm
npx create-react-app .
date
npm start
(leave running for some time, for development)
ctrl+c
date

Expected Behavior

date commands should output the correct system time on the device

Actual Behavior

Second date command outputs the same time as the first, completely desyncing from system time

Diagnostic Logs

No response

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@pmartincic
Copy link
Collaborator

Did your machine go to sleep? When you look at powercfg /a what are the options you see? If you see Standby (S0 Low Power Idle) Network Connected as an available sleep state then I think this is a duplicate of #10006

@lucashill1717
Copy link
Author

I think you're right! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants