Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add special case for Serial Port binary (.node) modules #415

Merged
merged 2 commits into from
May 8, 2024

Conversation

RogerHardiman
Copy link
Contributor

Tested with prebuilds and compiling serialport from source

Tested with prebuilds and compiling serialport from source
@RogerHardiman RogerHardiman requested review from ijjk and styfle as code owners May 3, 2024 11:31
@RogerHardiman RogerHardiman changed the title Add special case for Serial Port binary (.node) modules fix: Add special case for Serial Port binary (.node) modules May 3, 2024
@styfle
Copy link
Member

styfle commented May 4, 2024

Please add an integration test in ./test/integration to confirm this works as expected, thanks!

@RogerHardiman
Copy link
Contributor Author

Good idea to add an integration test. I noticed another one of the binary .node special cases had an integration test.

@RogerHardiman
Copy link
Contributor Author

Just a note to myself that currently one integration test fails with the error below before I add my new integration test

  ● should correctly trace and correctly execute sharp-pnpm.js

    Command failed: corepack enable && pnpm i



Test Suites: 1 failed, 3 passed, 4 total
Tests:       1 failed, 1368 passed, 1369 total
Snapshots:   0 total
Time:        530.549 s
Ran all test suites.

@RogerHardiman
Copy link
Contributor Author

This has been updated with an integrating test.
The test code (serialport.js) throws an exception if the .node modules are missing,

Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

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

Thanks!

@styfle styfle merged commit e001d05 into vercel:main May 8, 2024
10 checks passed
Copy link

github-actions bot commented May 8, 2024

🎉 This PR is included in version 0.26.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

styfle added a commit to vercel/next.js that referenced this pull request May 16, 2024
panteliselef pushed a commit to panteliselef/next.js that referenced this pull request May 20, 2024
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants