Christopher Andersson
Christopher Andersson
package.json ``` { "name": "week-trello", "version": "1.1.0", "description": "A Node.js starter for the Serverless Framework with async/await and unit test support", "main": "handler.js", "scripts": { "test": "serverless-bundle test", "deploy": "serverless...
lambda code `createCard.js` ```javascript import requestlib from "request-promise"; import { success, failure } from "../libs/response-lib"; export async function main(event, context) { const data = JSON.parse(event.body); const options = { method:...
I did delete my `package-lock.json` before doing `npm install` my `response-lib.js` is the same as yours ```javascript export function success(body) { return buildResponse(200, body); } export function failure(body) { return...
@jayair is there anything else I can provide to help with this?
This is how my project is setup: I have multiple services each with their own `serverless.yml`, but they all share the `libs` folder.
@jayair if you could provide me with a place to begin looking I can see if I can figure this out and submit a PR.