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

create-nx-workspace fails when using pnpm #30075

Open
1 of 4 tasks
AlexanderOpran opened this issue Feb 17, 2025 · 2 comments
Open
1 of 4 tasks

create-nx-workspace fails when using pnpm #30075

AlexanderOpran opened this issue Feb 17, 2025 · 2 comments

Comments

@AlexanderOpran
Copy link

AlexanderOpran commented Feb 17, 2025

Current Behavior

Image

Trying to create a workspace with nx and pnpm as the package manager, fails. This only happens if I use pnpm as the package manager (--pm pnpm).

OS: Windows 11 Pro 24H2 26100.3194
Node: v22.14.0
Nx: 20.4.4

PNPM is installed through CorePack (9.15.4). Using any other version of PNPM (even the latest one) results in the same error. Even if PNPM is installed through NPM or Winget or anything else.

The same command works on Linux and MacOS. (same PNPM version).

Expected Behavior

I should be able to successfully create a workspace with npx create-nx-workspace --pm pnpm.

GitHub Repo

No response

Steps to Reproduce

npx create-nx-workspace --pm pnpm

Nx Report

N/A

Failure Logs

Package Manager Version

PNPM 9.15.4

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@ryanbas21
Copy link
Contributor

FWIW - tried this on mac and i had no issue, so it may be a windows issue specifically.

Image

@AlexanderOpran
Copy link
Author

Yes, on MacOS and linux it's working for me as well.

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

No branches or pull requests

2 participants