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

Support Nx (npm:create-nx-workspace) #20620

Closed
birkskyum opened this issue Sep 21, 2023 · 3 comments
Closed

Support Nx (npm:create-nx-workspace) #20620

birkskyum opened this issue Sep 21, 2023 · 3 comments
Labels
bug Something isn't working node API polyfill Related to various "node:*" modules APIs node compat

Comments

@birkskyum
Copy link
Contributor

Nx - Website - GitHub

Platform

Darwin 22.6.0 arm64 arm

Version

deno 1.37.0

Repro

➜ deno run -A npm:create-nx-workspace

NX Let's create a new workspace [https://nx.dev/getting-started/intro]

✔ Where would you like to create your workspace? · myorg2
✔ Which stack do you want to use? · none
✔ Package-based monorepo, integrated monorepo, or standalone project? · package-based
✔ Enable distributed caching to make your CI faster · No

Expected

My new repo will be generated

Actual

 >  NX   Creating your v16.8.1 workspace.

   To make sure the command works reliably in all environments, and that the preset is applied correctly,
   Nx will run "npm install" several times. Please wait.Installing dependencies with npm
✔ Successfully created the workspace: myorg2.

error: Uncaught TypeError: socket.setTimeout is not a function
    at RedirectableRequest.destroyOnTimeout (file:///Users/admin/Library/Caches/deno/npm/registry.npmjs.org/follow-redirects/1.15.3/index.js:168:12)
    at RedirectableRequest.emit (ext:deno_node/_stream.mjs:1857:11)
    at HttpsClientRequest.eventHandlers.<computed> (file:///Users/admin/Library/Caches/deno/npm/registry.npmjs.org/follow-redirects/1.15.3/index.js:14:24)
    at HttpsClientRequest.emit (ext:deno_node/_stream.mjs:1857:11)
    at node:http:409:12
    at processTicksAndRejections (ext:deno_node/_next_tick.ts:25:11)
    at runNextTicks (ext:deno_node/_next_tick.ts:71:3)
    at eventLoopTick (ext:core/01_core.js:189:21)
@bartlomieju bartlomieju added bug Something isn't working node compat labels Sep 22, 2023
@bartlomieju bartlomieju added the node API polyfill Related to various "node:*" modules APIs label Mar 4, 2024
@lino-levan
Copy link
Contributor

This has been fixed for a while now. Should this be closed @bartlomieju?

image

@birkskyum
Copy link
Contributor Author

birkskyum commented Mar 17, 2024

Oh, fantastic, let me check

@birkskyum
Copy link
Contributor Author

birkskyum commented Mar 17, 2024

The repo still can't run though, but that's for another ticket:

@birkskyum birkskyum changed the title Support Nx (create-nx-workspace) Support Nx Mar 17, 2024
@birkskyum birkskyum reopened this Mar 17, 2024
@birkskyum birkskyum changed the title Support Nx Support Nx (npm:create-nx-workspace) Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working node API polyfill Related to various "node:*" modules APIs node compat
Projects
None yet
Development

No branches or pull requests

3 participants