Closed
Description
there is an issue about this problem but it's closed.
#13
Some other ppl and I still have the problem in that issue. So just to reopen it here.
package.json
{
"name": "aws-credentials-exp",
"version": "1.0.0",
"description": "",
"main": "handler.js",
"dependencies": {
"aws-sdk": "^2.201.0"
},
"devDependencies": {
"serverless-plugin-typescript": "^1.1.5"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
serverless-plugin-typescript is not in the final release, but typescript and the dependencies of typescript do.
I tried not to include serverless-plugin-typescript plugin in serverless.yml (it's still installed and exist in package.json), the node_modules in zip file will only have aws-sdk and its dependencies.