Skip to content

Conversation

@sommeeeer
Copy link
Contributor

@sommeeeer sommeeeer commented Jan 6, 2026

  • Test on an affected repo

I think we should always use the workaround to dereference symlinks manually. Keeping an up to date list of all the affected Node versions would become very tedious as it seems that this issue will be present in upcoming Node versions aswell.

(We could also skip copying the .bin folder entirely as its mostly used for CLI anyways. In a serverless function that doesn't make sense TBH)

Closes #1066

Upstream issue in Node: nodejs/node#59168

@changeset-bot
Copy link

changeset-bot bot commented Jan 6, 2026

🦋 Changeset detected

Latest commit: 5a9038a

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

This PR includes changesets to release 2 packages
Name Type
@opennextjs/aws Patch
app-pages-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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 6, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@opennextjs/aws@1074

commit: 5a9038a

Copy link
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sommeeeer

Definitely +1 for that given the amount of comments on the Node issue.

Any reason why the PR is in draft state?

@vicb
Copy link
Contributor

vicb commented Jan 7, 2026

@sommeeeer could you please add a changeset too?
Sorry it's here already

@sommeeeer
Copy link
Contributor Author

Any reason why the PR is in draft state?

I haven't had time to test it out on a real repo yet. Can do it later tonight

@sommeeeer sommeeeer marked this pull request as ready for review January 7, 2026 21:21
@sommeeeer
Copy link
Contributor Author

This one is ready to ship now!

@vicb
Copy link
Contributor

vicb commented Jan 8, 2026

Thanks @sommeeeer !

@vicb vicb merged commit 1aa300d into opennextjs:main Jan 8, 2026
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.

Issue with image optimization function bundling with NodeJS 24 that has symbolic links

2 participants