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: patch new lmdb binary location #322

Merged
merged 1 commit into from
Mar 15, 2022
Merged

Conversation

ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Mar 14, 2022

Which problem is this pull request solving?

Gatsby uses some native binaries our SSR/DSG lambdas, most importantly the lmdb database engine. To handle differing ABI versions between the node versions in build machines and lambdas, we patch the Gatsby query engine bundle and manually copy binaries before deploying. A recent update to lmdb changed the name of the binary, which was correctly moved, but the bundle was not correctly patched, causing missing binaries when deployed.

List other issues or pull requests related to this problem

Fixes #294

Describe the solution you've chosen

I've fixed this by adding the new import string to the list of patches

@netlify
Copy link

netlify bot commented Mar 14, 2022

🌟 Deploy Preview for netlify-plugin-gatsby-demo ready!

Name Link
🔨 Latest commit 93e28f2
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-gatsby-demo/deploys/622f630a85bf5400082ca629
😎 Deploy Preview https://deploy-preview-322--netlify-plugin-gatsby-demo.netlify.app
📱 Preview on mobile
Toggle QR Code... QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@ascorbic ascorbic requested a review from a team March 14, 2022 15:53
@ascorbic ascorbic self-assigned this Mar 14, 2022
@kodiakhq kodiakhq bot merged commit 0abc3f9 into main Mar 15, 2022
@kodiakhq kodiakhq bot deleted the mk/bundle-patch-update branch March 15, 2022 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error "Module did not self-register" in SSR pages after upgrading to 4.8.0
2 participants