Comments (2)
Hmm the steps you are following seems right. The packager options is basically saying, don't use the installed version of sharp, install the one that works with Lambda.
One thing you can check to see if this works, is serverless package
this generates a .serverless
dir and you can look inside to see if sharp was packaged correctly. Give that a try?
from serverless-nodejs-starter.
check this please:
https://sharp.pixelplumbing.com/install#aws-lambda
from serverless-nodejs-starter.
Related Issues (20)
- Feature request: SAM template HOT 1
- Babel 7 support HOT 1
- Error message when installing dependencies HOT 5
- Any future updates to this repo - like updating to Node 10.x HOT 3
- Error: Can't resolve 'source-map-support/register' in 'libs/response-lib.js' HOT 17
- AWS_PROFILE=default serverless invoke local --function create --path mocks/create-event.json HOT 1
- Function Routes Defined in file not loaded HOT 2
- Clean install with deploy results in non-webpacked node functions HOT 1
- Debug lambda using VScode
- Tests do not load .env or serverless.yml variables HOT 8
- Can't create a project on Windows 10 - Request timed out HOT 1
- Cannot run sample project on aws lambda HOT 1
- Create Ticket - Instructor HOT 1
- Initial install throws serverless DeprecationWarning DEP0066
- Build crashes when using email-templates HOT 3
- Typescript version of the repo HOT 2
- gyp verb `which` failed Error: not found: python2 HOT 16
- As per Indian regulations, only registered Indian businesses (i.e. sole proprietorships, limited liability partnerships and companies, but not individuals) can accept international payments. More info here: https://stripe.com/docs/india-exports\" error.
- Serverless: Operation failed!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-nodejs-starter.