question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`create-nx-workspace` command not working with `pnpm` v7

See original GitHub issue

Current Behavior

When running pnpx create-nx-workspace@latest (v14.1.1) with the latest version of pnpm(v7.0.0), the dependencies installation fails.

Expected Behavior

It should install without error as it does with pnpm v^6.

Steps to Reproduce

pnpx create-nx-workspace@latest
// or
pnpm dlx create-nx-workspace@latest

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
AgentEndercommented, May 6, 2022

Hmmm, interesting. Let me reach out to the people who worked on the fix.

2reactions
hubertkuochcommented, May 10, 2022

Closing the issue as uninstalling pnpm, deleting cached dot folders and re-installing it solves the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workspace
Luckily, pnpm supports the workspace: protocol. When this protocol is used, pnpm will refuse to resolve to anything other than a local workspace...
Read more >
`pnpm add` within a workspace does not add projects from ...
I am working with a very simple monorepo with ...
Read more >
npmrc | pnpm中文文档
pnpm gets its configuration from the command line, environment variables, and. ... An alternative solution for this problem is to bundle your application ......
Read more >
JavaScript package managers compared: npm, Yarn, or ...
The main problem the creators of pnpm had with npm and Yarn was the redundant ... This section does not cover workspace-related commands....
Read more >
ng new
Option Description Value Type Default Value ‑‑commit Initial git repository commit information. boolean true ‑‑directory The directory name to create the workspace in. string ‑‑force Force...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found