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

Bug running NodeJS API on Windows and WSL #7845

Closed
1 task done
gtoro98 opened this issue Mar 26, 2024 · 7 comments
Closed
1 task done

Bug running NodeJS API on Windows and WSL #7845

gtoro98 opened this issue Mar 26, 2024 · 7 comments
Labels
area: windows Issues specifically reproducing on Windows kind: bug Something isn't working needs: author input owned-by: turborepo

Comments

@gtoro98
Copy link

gtoro98 commented Mar 26, 2024

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/gtoro98/turbo_issue

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Windows

Which canary version will you have in your reproduction?

1.13.1-canary.2

Describe the Bug

NodeJS Fastify server fails to run locally from turborepo on windows systems

Expected Behavior

Server to start

To Reproduce

run npm run dev on issue repo

Additional context

Version 1.12 works fine, this issue only appears to happen on Windows, no problem on M chip macs. Tested with WSL with Ubuntu distro and issue also happens

@gtoro98 gtoro98 added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo labels Mar 26, 2024
@tknickman tknickman added the area: windows Issues specifically reproducing on Windows label Mar 26, 2024
@chris-olszewski
Copy link
Member

Can you include how it is failing? The repro you provided seems to be working fine on my Windows machine:
image-6

Information such as which console you are running from and Windows build version could also help.

@gtoro98
Copy link
Author

gtoro98 commented Apr 1, 2024

Can you include how it is failing? The repro you provided seems to be working fine on my Windows machine: image-6

Information such as which console you are running from and Windows build version could also help.

It looks like it is running but none of the commands are excecuting and the server isn't running

@tknickman tknickman added needs: author input and removed needs: triage New issues get this label. Remove it after triage labels Apr 1, 2024
@tknickman
Copy link
Member

@gtoro98 could you also provide the console you're using as well as your windows build version?

Thanks!

@chris-olszewski
Copy link
Member

@gtoro98

Can you also confirm if issue is present when directly invoking npm dev in the directory for @armi-pay/api?

@gtoro98
Copy link
Author

gtoro98 commented Apr 1, 2024

@tknickman OS Build 22631.3296 but have reproduced in various others on windows powershell, command prompt and terminal

@gtoro98
Copy link
Author

gtoro98 commented Apr 1, 2024

@chris-olszewski running 'npm run dev' from within the apps/api directory results in succesful starting of the server

@chris-olszewski
Copy link
Member

Closing in favor of #7834 as I believe this is an bad interaction with turbo and tsx on Windows.

@chris-olszewski chris-olszewski closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: windows Issues specifically reproducing on Windows kind: bug Something isn't working needs: author input owned-by: turborepo
Projects
None yet
Development

No branches or pull requests

3 participants