Skip to content

Conversation

sheikhlimon
Copy link

Description

This PR adds node-gyp as a devDependency to the packages/shadcn package.

Fixes #8503

Without this, building sharp in mise-managed Node environments fails, because node-gyp is not automatically available.

  • Environment Affected: mise-managed Node (tested on Node 20.5.1, pnpm 9.x)
  • Previous Behavior: pnpm install fails at sharp postinstall: sh: line 1: node-gyp: command not found
  • New Behavior: sharp builds successfully in mise environments.

This change does not affect NVM or global Node setups.

Copy link

vercel bot commented Oct 18, 2025

@sheikhlimon is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

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.

[bug]: Sharp build fails with mise due to missing node-gyp

1 participant