Skip to content

Conversation

sommeeeer
Copy link
Contributor

When you use pnpm there will be a symbolic link pointing to the store. Our current regex didn't exclude this as it was just looking for all the files living under a folder. This could cause file already exists errors when trying to install sharp or any of the other excluded packages on the default server function.

cd node_modules
❯ file sharp
sharp: symbolic link to .pnpm/[email protected]/node_modules/sharp

Reference: Discord thread

Copy link

changeset-bot bot commented Sep 10, 2025

🦋 Changeset detected

Latest commit: b6a2ac3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@opennextjs/aws Patch
app-pages-router Patch
app-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Sep 10, 2025

Open in StackBlitz

pnpm add https://pkg.pr.new/@opennextjs/aws@979

commit: b6a2ac3

@conico974 conico974 merged commit 911ecd2 into opennextjs:main Sep 21, 2025
3 checks passed
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.

3 participants