Created
August 10, 2017 13:25
-
-
Save benjaminwood/65a9f3a346f9c5cf24e9a28b48778ee1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ serverless-exports git:(master) ✗ serverless invoke local -s dev -f export --path event.json | |
Serverless: Bundling with Webpack... | |
Time: 1177ms | |
Asset Size Chunks Chunk Names | |
main.js 23.3 kB 0 [emitted] main | |
main.js.map 21.4 kB 0 [emitted] main | |
[0] external "babel-runtime/regenerator" 42 bytes {0} [not cacheable] | |
[1] external "babel-runtime/helpers/asyncToGenerator" 42 bytes {0} [not cacheable] | |
[2] external "ramda/src/partial" 42 bytes {0} [not cacheable] | |
[4] external "babel-runtime/core-js/promise" 42 bytes {0} [not cacheable] | |
[5] ./handler.js 2.36 kB {0} [built] | |
[6] ./exportTypes.js 802 bytes {0} [built] | |
[7] ./createJpeg.js 650 bytes {0} [built] | |
[10] ./createZip.js 1.46 kB {0} [built] | |
[12] ./createPdf.js 2.88 kB {0} [built] | |
[14] ./capturer.js 10.8 kB {0} [built] | |
[15] external "babel-runtime/core-js/json/stringify" 42 bytes {0} [not cacheable] | |
[16] external "babel-runtime/helpers/extends" 42 bytes {0} [not cacheable] | |
[17] external "babel-runtime/helpers/classCallCheck" 42 bytes {0} [not cacheable] | |
[18] external "babel-runtime/helpers/createClass" 42 bytes {0} [not cacheable] | |
[21] external "ramda/src/composeP" 42 bytes {0} [not cacheable] | |
+ 7 hidden modules | |
{ Error: Cannot find module '/Users/Ben/js_projects/serverless-exports/.webpack/service/handler' | |
at Function.Module._resolveFilename (module.js:485:15) | |
at Function.Module._load (module.js:437:25) | |
at Module.require (module.js:513:17) | |
at require (internal/module.js:11:18) | |
at AwsInvokeLocal.invokeLocalNodeJs (/Users/Ben/.config/yarn/global/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:156:33) | |
at AwsInvokeLocal.invokeLocal (/Users/Ben/.config/yarn/global/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:114:19) | |
at AwsInvokeLocal.tryCatcher (/Users/Ben/.config/yarn/global/node_modules/serverless/node_modules/bluebird/js/release/util.js:16:23) | |
at Promise._settlePromiseFromHandler (/Users/Ben/.config/yarn/global/node_modules/serverless/node_modules/bluebird/js/release/promise.js:512:31) | |
at Promise._settlePromise (/Users/Ben/.config/yarn/global/node_modules/serverless/node_modules/bluebird/js/release/promise.js:569:18) | |
at Promise._settlePromise0 (/Users/Ben/.config/yarn/global/node_modules/serverless/node_modules/bluebird/js/release/promise.js:614:10) | |
at Promise._settlePromises (/Users/Ben/.config/yarn/global/node_modules/serverless/node_modules/bluebird/js/release/promise.js:693:18) | |
at Async._drainQueue (/Users/Ben/.config/yarn/global/node_modules/serverless/node_modules/bluebird/js/release/async.js:133:16) | |
at Async._drainQueues (/Users/Ben/.config/yarn/global/node_modules/serverless/node_modules/bluebird/js/release/async.js:143:10) | |
at Immediate.Async.drainQueues (/Users/Ben/.config/yarn/global/node_modules/serverless/node_modules/bluebird/js/release/async.js:17:14) | |
at runCallback (timers.js:800:20) | |
at tryOnImmediate (timers.js:762:5) | |
at processImmediate [as _immediateCallback] (timers.js:733:5) code: 'MODULE_NOT_FOUND' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment