Skip to content

Hangs when pnpm install at postinstall #27056

Closed
@justnewbee

Description

@justnewbee

Current Behavior

When initializing my repo by running pnpm install, everything was OK until it hangs at the below message:

node_modules/.pnpm/[email protected]/node_modules/nx: Running postinstall script...

It never exited, no error, no warning.

I saw nx was updated 1 hour ago, and I am very sure, it worked yesterday.

FYI, I didn't install nx, it is depended by lerna.

Expected Behavior

The install process shall exit.

GitHub Repo

No response

Steps to Reproduce

  1. I installed lerna as dev depencies:
{
  "lerna": "^8.1.7"
}

Nx Report

node_modules/.pnpm/[email protected]/node_modules/nx: Running postinstall script...


### Failure Logs

_No response_

### Package Manager Version

pnpm

### Operating System

- [X] macOS
- [ ] Linux
- [ ] Windows
- [ ] Other (Please specify)

### Additional Information

My region is in China, hope it is NOT a network issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions