Skip to content

Use packageManager field to install a compatible version of pnpm#53

Open
ronhombre wants to merge 4 commits into
arter97:masterfrom
ronhombre:master
Open

Use packageManager field to install a compatible version of pnpm#53
ronhombre wants to merge 4 commits into
arter97:masterfrom
ronhombre:master

Conversation

@ronhombre

Copy link
Copy Markdown
Contributor

Updated pnpm setup to use version from package.json and enable corepack by default

Fixes #52

ronhombre added 3 commits May 17, 2026 02:52
Updated pnpm setup to use version from package.json and enable corepack by default
Prevents corepack from trying to install the latest pnpm version by running `pnpm store prune` where the package.json is located so it knows what pnpm version it should use.
Add script to copy packageManager field from source package.json to destination.

This executes node.js directly in the script. This is spicy and is a workaround. Otherwise, the build fails again when corepack tries to install the latest pnpm
@ronhombre

Copy link
Copy Markdown
Contributor Author

I've tested and this works now.

Replaced Node.js script with jq command to copy packageManager field from source package.json to destination.
@ronhombre

Copy link
Copy Markdown
Contributor Author

I've updated the code to remove the node js execution. I haven't tested this version, but it should work. Hoping someone can test it for me

@ronhombre ronhombre changed the title Refine pnpm setup in install.sh Use packageManager field to install a compatible version of pnpm May 16, 2026
@ronhombre

Copy link
Copy Markdown
Contributor Author
image

Running without Docker on Ubuntu 24.04.4 LTS as a VM in Proxmox VE

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.

Error running install.sh (ERR_PNPM_IGNORED_BUILDS)

2 participants