-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
yarn platform specific install? #2340
Comments
The https://sharp.pixelplumbing.com/install#aws-lambda
However it looks like yarn doesn't support |
Posting it for convenience:
|
@cyberwombat Did you get the above command to work? I ran it, along with EDIT:
After deploying this change to my lambdas, they started working |
@RBrNx glad it's working. The command does work for me which i confirmed when running tests - told me i had a linux binary. That being said deployment to awa lambda using the cdk did not work. What I did was make a folder and installed sharp in it and then deployed as a lambda layer. That worked great and allowed me to maintain my darwin lib locally |
I have npm
But this one does not:
The latter one still installs |
@PlatonSotnykov Please open a new installation issue and answer all of the questions if you still require help. |
How does one do this with Yarn?
I've tried
yarn add --arch=x64 --platform=linux --target=10.16.0 sharp
but nothing is being installed into node_modulesOriginally posted by @zkrige in #1459 (comment)
The text was updated successfully, but these errors were encountered: