Skip to content

Conversation

@gluxon
Copy link
Member

@gluxon gluxon commented May 30, 2022

Fixes #4319

This was fixed upstream in pkg-fetch 3.4

Before

~/Developer/pnpm/packages/artifacts/macos-arm64
❯ NODE_OPTIONS="--max-old-space-size=4096" ./pnpm

❯ echo $?           
4

After

~/Developer/pnpm/packages/artifacts/macos-arm64
❯ NODE_OPTIONS="--max-old-space-size=4096" ./pnpm
Version 7.1.6 (compiled to binary; bundled Node.js v14.19.2)
Usage: pnpm [command] [flags]
       pnpm [ -h | --help | -v | --version ]

@gluxon gluxon marked this pull request as ready for review May 30, 2022 18:28
@gluxon gluxon requested a review from zkochan as a code owner May 30, 2022 18:28
@gluxon
Copy link
Member Author

gluxon commented May 30, 2022

If a rebase in https://github.com/zkochan/pkg is preferred I can start a PR for that.

@zkochan zkochan merged commit 7fb1ac0 into pnpm:main May 30, 2022
This was referenced Jun 4, 2022
@gluxon gluxon deleted the pkg-fetch-3.4.1 branch July 20, 2022 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vercel/pkg distributed pnpm crashes when NODE_OPTIONS="--max-old-space-size=4096" is set

2 participants