We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Response: { "errorType": "Error", "errorMessage": "Cannot find module 'request'", "trace": [ "Error: Cannot find module 'request'", " at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)", " at Module._require.o.require (/var/task/serverless_sdk/index.js:9:72748)", " at require (internal/modules/cjs/helpers.js:25:18)", " at module.exports.http (/var/task/handler.js:8:18)", " at Runtime.handler (/var/task/serverless_sdk/index.js:9:137040)", " at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)" ] } Request ID: "3751f4ca-3a52-4139-a22f-ca6a721e5415" Function Logs: START RequestId: 3751f4ca-3a52-4139-a22f-ca6a721e5415 Version: $LATEST 2020-05-24T20:38:19.477Z 3751f4ca-3a52-4139-a22f-ca6a721e5415 INFO 2020-05-24T20:38:19.498Z 3751f4ca-3a52-4139-a22f-ca6a721e5415 ERROR { Error: Cannot find module 'request' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Module._require.o.require (/var/task/serverless_sdk/index.js:9:72748) at require (internal/modules/cjs/helpers.js:25:18) at module.exports.http (/var/task/handler.js:8:18) at Runtime.handler (/var/task/serverless_sdk/index.js:9:137040) at Runtime.handleOnce (/var/runtime/Runtime.js:66:25) code: 'MODULE_NOT_FOUND' } 2020-05-24T20:38:19.897Z 3751f4ca-3a52-4139-a22f-ca6a721e5415 INFO SERVERLESS_ENTERPRISE {"c":true,"b":"H4sIAAAAAAAAA+0Ya3PaxvavbDWdWzuD3g8kct2pi0maxEl9DbnJxHiYRVqBYmlX3V1hSMb/vWclAYYY3+vM9FPLF7TnnD3vl/RVYzybZVTraSIXOp4RKrWOJuI5KfB/CRcZUzjLsAAqs4IIiYsSII7lWLrl6443cqyeG/bsyAij4BOQcfJHBXSvEiBzu76dejHWXew7ume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TV5jwsQWW1/z3108ldR8tZ/cnirvmKAo9X1+sdsP6YcXV9d/cnTBpP5PgSAAA=","origin":"sls-agent"} 2020-05-24T20:38:19.935Z 3751f4ca-3a52-4139-a22f-ca6a721e5415 ERROR Invoke Error {"errorType":"Error","errorMessage":"Cannot find module 'request'","code":"MODULE_NOT_FOUND","stack":["Error: Cannot find module 'request'"," at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)"," at Module._require.o.require (/var/task/serverless_sdk/index.js:9:72748)"," at require (internal/modules/cjs/helpers.js:25:18)"," at module.exports.http (/var/task/handler.js:8:18)"," at Runtime.handler (/var/task/serverless_sdk/index.js:9:137040)"," at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"]} END RequestId: 3751f4ca-3a52-4139-a22f-ca6a721e5415 REPORT RequestId: 3751f4ca-3a52-4139-a22f-ca6a721e5415 Duration: 553.29 ms Billed Duration: 600 ms Memory Size: 128 MB Max Memory Used: 75 MB Init Duration: 220.46 ms
The text was updated successfully, but these errors were encountered:
I'm facing the same error, any update on it guys?
Sorry, something went wrong.
I think you have to do an npm install before deploying
No branches or pull requests
The text was updated successfully, but these errors were encountered: