StateVoicesNational / Spoke

mass-contact text/SMS distribution tool
Other
461 stars 402 forks source link

Error deploying Lambda with Claudia #771

Closed amancevice closed 2 years ago

amancevice commented 6 years ago

I am getting an error when trying to follow the docs on deploying Spoke to AWS Lambda. I have tried a couple different variations of the command but at its most-basic the command I ran was:

claudia create --handler lambda.handler --deploy-proxy-api --region us-east-1

And the error:

Error: Cannot find module './build/server/server/index'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/tmp/VX6eXr/spoke-1.4.1-7BFZEg/package/lambda.js:4:13)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
cannot require ./lambda after clean installation. Check your dependencies.

I have run npm run prod-build before this stage so I do have the ./build/server/server/index.js file that is being required in lambda.js.

Full stacktrace:

packaging files npm pack /Spoke
npm info it worked if it ends with ok
npm info using npm@3.10.10
npm info using node@v6.10.3
npm info lifecycle spoke@1.4.1~prepublish: spoke@1.4.1
packaging files npm install -q --no-audit --production
npm WARN deprecated material-ui@0.20.2: You can now upgrade to @material-ui/core
npm WARN deprecated lodash.isarray@4.0.0: This package is deprecated. Use Array.isArray.
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead

> uglifyjs-webpack-plugin@0.4.6 postinstall /tmp/VX6eXr/spoke-1.4.1-7BFZEg/package/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js

npm WARN lifecycle spoke@1.4.1~postinstall: cannot run in wd %s %s (wd=%s) spoke@1.4.1 if [ "$NODE_ENV" = production ] ; then npm run prod-build && npm run prod-static-upload && npm run notify-slack; fi /tmp/VX6eXr/spoke-1.4.1-7BFZEg/package
spoke@1.4.1 /tmp/VX6eXr/spoke-1.4.1-7BFZEg/package
+-- aphrodite@0.4.1 
| +-- asap@2.0.6 
| `-- inline-style-prefixer@2.0.5 
|   +-- bowser@1.9.4 
|   `-- hyphenate-style-name@1.0.2 
+-- apollo-client@0.4.22 
| +-- es6-promise@4.2.4 
| +-- lodash.assign@4.2.0 
| +-- lodash.clonedeep@4.5.0 
| +-- lodash.countby@4.6.0 
| +-- lodash.flatten@4.4.0 
| +-- lodash.forown@4.4.0 
| +-- lodash.has@4.5.2 
| +-- lodash.identity@3.0.0 
| +-- lodash.includes@4.3.0 
| +-- lodash.isarray@4.0.0 
| +-- lodash.isboolean@3.0.3 
| +-- lodash.isequal@4.5.0 
| +-- lodash.isnull@3.0.0 
| +-- lodash.isnumber@3.0.3 
| +-- lodash.isobject@3.0.2 
| +-- lodash.isstring@4.0.1 
| +-- lodash.isundefined@3.0.1 
| +-- lodash.mapvalues@4.6.0 
| +-- lodash.merge@4.6.1 
| +-- lodash.pick@4.4.0 
| +-- symbol-observable@1.2.0 
| `-- whatwg-fetch@1.1.1 
+-- apollo-server-express@1.4.0 
| +-- apollo-server-core@1.4.0 
| | +-- apollo-cache-control@0.1.1 
| | +-- apollo-tracing@0.1.4 
| | `-- graphql-extensions@0.0.10 
| |   `-- source-map-support@0.5.8 
| |     `-- buffer-from@1.1.1 
| `-- apollo-server-module-graphiql@1.4.0 
+-- aws-sdk@2.291.0 
| +-- buffer@4.9.1 
| | +-- base64-js@1.3.0 
| | `-- isarray@1.0.0 
| +-- events@1.1.1 
| +-- ieee754@1.1.8 
| +-- jmespath@0.15.0 
| +-- querystring@0.2.0 
| +-- sax@1.2.1 
| +-- url@0.10.3 
| | `-- punycode@1.3.2 
| +-- uuid@3.1.0 
| `-- xml2js@0.4.19 
|   `-- xmlbuilder@9.0.7 
+-- aws-serverless-express@3.0.2 
| `-- binary-case@1.1.4 
+-- babel-cli@6.26.0 
| +-- chokidar@1.7.0 
| | +-- anymatch@1.3.2 
| | | +-- micromatch@2.3.11 
| | | | +-- arr-diff@2.0.0 
| | | | +-- array-unique@0.2.1 
| | | | +-- braces@1.8.5 
| | | | | +-- expand-range@1.8.2 
| | | | | | `-- fill-range@2.2.4 
| | | | | |   +-- is-number@2.1.0 
| | | | | |   +-- isobject@2.1.0 
| | | | | |   `-- randomatic@3.1.0 
| | | | | |     +-- is-number@4.0.0 
| | | | | |     +-- kind-of@6.0.2 
| | | | | |     `-- math-random@1.0.1 
| | | | | `-- preserve@0.2.0 
| | | | +-- expand-brackets@0.1.5 
| | | | | `-- is-posix-bracket@0.1.1 
| | | | +-- extglob@0.3.2 
| | | | +-- filename-regex@2.0.1 
| | | | +-- kind-of@3.2.2 
| | | | | `-- is-buffer@1.1.6 
| | | | +-- object.omit@2.0.1 
| | | | | +-- for-own@0.1.5 
| | | | | | `-- for-in@1.0.2 
| | | | | `-- is-extendable@0.1.1 
| | | | +-- parse-glob@3.0.4 
| | | | | +-- glob-base@0.3.0 
| | | | | `-- is-dotfile@1.0.3 
| | | | `-- regex-cache@0.4.4 
| | | |   `-- is-equal-shallow@0.1.3 
| | | |     `-- is-primitive@2.0.0 
| | | `-- normalize-path@2.1.1 
| | |   `-- remove-trailing-separator@1.1.0 
| | +-- async-each@1.0.1 
| | +-- glob-parent@2.0.0 
| | +-- is-binary-path@1.0.1 
| | | `-- binary-extensions@1.11.0 
| | +-- is-glob@2.0.1 
| | | `-- is-extglob@1.0.0 
| | `-- readdirp@2.1.0 
| |   `-- set-immediate-shim@1.0.1 
| +-- commander@2.17.1 
| +-- convert-source-map@1.5.1 
| +-- fs-readdir-recursive@1.1.0 
| +-- glob@7.1.2 
| | +-- fs.realpath@1.0.0 
| | +-- inflight@1.0.6 
| | | `-- wrappy@1.0.2 
| | `-- once@1.4.0 
| +-- output-file-sync@1.1.2 
| | `-- graceful-fs@4.1.11 
| +-- path-is-absolute@1.0.1 
| +-- slash@1.0.0 
| +-- source-map@0.5.7 
| `-- v8flags@2.1.1 
|   `-- user-home@1.1.1 
+-- babel-core@6.26.3 
| +-- babel-code-frame@6.26.0 
| | +-- esutils@2.0.2 
| | `-- js-tokens@3.0.2 
| +-- babel-generator@6.26.1 
| | +-- detect-indent@4.0.0 
| | | `-- repeating@2.0.1 
| | |   `-- is-finite@1.0.2 
| | |     `-- number-is-nan@1.0.1 
| | +-- jsesc@1.3.0 
| | +-- source-map@0.5.7 
| | `-- trim-right@1.0.1 
| +-- babel-helpers@6.24.1 
| +-- babel-messages@6.23.0 
| +-- babel-template@6.26.0 
| +-- babel-traverse@6.26.0 
| | `-- globals@9.18.0 
| +-- babel-types@6.26.0 
| | `-- to-fast-properties@1.0.3 
| +-- babylon@6.18.0 
| +-- debug@2.6.9 
| | `-- ms@2.0.0 
| +-- json5@0.5.1 
| +-- minimatch@3.0.4 
| | `-- brace-expansion@1.1.11 
| |   +-- balanced-match@1.0.0 
| |   `-- concat-map@0.0.1 
| +-- private@0.1.8 
| `-- source-map@0.5.7 
+-- babel-loader@7.1.5 
| +-- find-cache-dir@1.0.0 
| | +-- commondir@1.0.1 
| | +-- make-dir@1.3.0 
| | | `-- pify@3.0.0 
| | `-- pkg-dir@2.0.0 
| |   `-- find-up@2.1.0 
| |     `-- locate-path@2.0.0 
| |       +-- p-locate@2.0.0 
| |       | `-- p-limit@1.3.0 
| |       |   `-- p-try@1.0.0 
| |       `-- path-exists@3.0.0 
| +-- loader-utils@1.1.0 
| | +-- big.js@3.2.0 
| | `-- emojis-list@2.1.0 
| `-- mkdirp@0.5.1 
|   `-- minimist@0.0.8 
+-- babel-plugin-transform-runtime@6.23.0 
+-- babel-polyfill@6.26.0 
| +-- core-js@2.5.7 
| `-- regenerator-runtime@0.10.5 
+-- babel-preset-env@1.7.0 
| +-- babel-plugin-check-es2015-constants@6.22.0 
| +-- babel-plugin-syntax-trailing-function-commas@6.22.0 
| +-- babel-plugin-transform-async-to-generator@6.24.1 
| | +-- babel-helper-remap-async-to-generator@6.24.1 
| | `-- babel-plugin-syntax-async-functions@6.13.0 
| +-- babel-plugin-transform-es2015-arrow-functions@6.22.0 
| +-- babel-plugin-transform-es2015-block-scoped-functions@6.22.0 
| +-- babel-plugin-transform-es2015-block-scoping@6.26.0 
| +-- babel-plugin-transform-es2015-classes@6.24.1 
| | +-- babel-helper-define-map@6.26.0 
| | +-- babel-helper-function-name@6.24.1 
| | +-- babel-helper-optimise-call-expression@6.24.1 
| | `-- babel-helper-replace-supers@6.24.1 
| +-- babel-plugin-transform-es2015-computed-properties@6.24.1 
| +-- babel-plugin-transform-es2015-destructuring@6.23.0 
| +-- babel-plugin-transform-es2015-duplicate-keys@6.24.1 
| +-- babel-plugin-transform-es2015-for-of@6.23.0 
| +-- babel-plugin-transform-es2015-function-name@6.24.1 
| +-- babel-plugin-transform-es2015-literals@6.22.0 
| +-- babel-plugin-transform-es2015-modules-amd@6.24.1 
| +-- babel-plugin-transform-es2015-modules-commonjs@6.26.2 
| | `-- babel-plugin-transform-strict-mode@6.24.1 
| +-- babel-plugin-transform-es2015-modules-systemjs@6.24.1 
| | `-- babel-helper-hoist-variables@6.24.1 
| +-- babel-plugin-transform-es2015-modules-umd@6.24.1 
| +-- babel-plugin-transform-es2015-object-super@6.24.1 
| +-- babel-plugin-transform-es2015-parameters@6.24.1 
| | +-- babel-helper-call-delegate@6.24.1 
| | `-- babel-helper-get-function-arity@6.24.1 
| +-- babel-plugin-transform-es2015-shorthand-properties@6.24.1 
| +-- babel-plugin-transform-es2015-spread@6.22.0 
| +-- babel-plugin-transform-es2015-sticky-regex@6.24.1 
| | `-- babel-helper-regex@6.26.0 
| +-- babel-plugin-transform-es2015-template-literals@6.22.0 
| +-- babel-plugin-transform-es2015-typeof-symbol@6.23.0 
| +-- babel-plugin-transform-es2015-unicode-regex@6.24.1 
| | `-- regexpu-core@2.0.0 
| |   +-- regenerate@1.4.0 
| |   +-- regjsgen@0.2.0 
| |   `-- regjsparser@0.1.5 
| |     `-- jsesc@0.5.0 
| +-- babel-plugin-transform-exponentiation-operator@6.24.1 
| | +-- babel-helper-builder-binary-assignment-operator-visitor@6.24.1 
| | | `-- babel-helper-explode-assignable-expression@6.24.1 
| | `-- babel-plugin-syntax-exponentiation-operator@6.13.0 
| +-- babel-plugin-transform-regenerator@6.26.0 
| | `-- regenerator-transform@0.10.1 
| +-- browserslist@3.2.8 
| | +-- caniuse-lite@1.0.30000874 
| | `-- electron-to-chromium@1.3.57 
| +-- invariant@2.2.4 
| `-- semver@5.5.0 
+-- babel-preset-react@6.24.1 
| +-- babel-plugin-syntax-jsx@6.18.0 
| +-- babel-plugin-transform-react-display-name@6.25.0 
| +-- babel-plugin-transform-react-jsx@6.24.1 
| | `-- babel-helper-builder-react-jsx@6.26.0 
| +-- babel-plugin-transform-react-jsx-self@6.22.0 
| +-- babel-plugin-transform-react-jsx-source@6.22.0 
| `-- babel-preset-flow@6.23.0 
|   `-- babel-plugin-transform-flow-strip-types@6.22.0 
|     `-- babel-plugin-syntax-flow@6.18.0 
+-- babel-preset-stage-0@6.24.1 
| +-- babel-plugin-transform-do-expressions@6.22.0 
| | `-- babel-plugin-syntax-do-expressions@6.13.0 
| +-- babel-plugin-transform-function-bind@6.22.0 
| | `-- babel-plugin-syntax-function-bind@6.13.0 
| `-- babel-preset-stage-1@6.24.1 
|   +-- babel-plugin-transform-class-constructor-call@6.24.1 
|   | `-- babel-plugin-syntax-class-constructor-call@6.18.0 
|   +-- babel-plugin-transform-export-extensions@6.22.0 
|   | `-- babel-plugin-syntax-export-extensions@6.13.0 
|   `-- babel-preset-stage-2@6.24.1 
|     +-- babel-plugin-syntax-dynamic-import@6.18.0 
|     +-- babel-plugin-transform-class-properties@6.24.1 
|     | `-- babel-plugin-syntax-class-properties@6.13.0 
|     +-- babel-plugin-transform-decorators@6.24.1 
|     | +-- babel-helper-explode-class@6.24.1 
|     | | `-- babel-helper-bindify-decorators@6.24.1 
|     | `-- babel-plugin-syntax-decorators@6.13.0 
|     `-- babel-preset-stage-3@6.24.1 
|       +-- babel-plugin-transform-async-generator-functions@6.24.1 
|       | `-- babel-plugin-syntax-async-generators@6.13.0 
|       `-- babel-plugin-transform-object-rest-spread@6.26.0 
|         `-- babel-plugin-syntax-object-rest-spread@6.13.0 
+-- babel-register@6.26.0 
| +-- home-or-tmp@2.0.0 
| | +-- os-homedir@1.0.2 
| | `-- os-tmpdir@1.0.2 
| `-- source-map-support@0.4.18 
|   `-- source-map@0.5.7 
+-- babel-runtime@6.26.0 
| `-- regenerator-runtime@0.11.1 
+-- body-parser@1.18.3 
| +-- bytes@3.0.0 
| +-- content-type@1.0.4 
| +-- depd@1.1.2 
| +-- http-errors@1.6.3 
| | `-- statuses@1.5.0 
| +-- iconv-lite@0.4.23 
| | `-- safer-buffer@2.1.2 
| +-- on-finished@2.3.0 
| | `-- ee-first@1.1.1 
| +-- qs@6.5.2 
| +-- raw-body@2.3.3 
| | `-- unpipe@1.0.0 
| `-- type-is@1.6.16 
|   `-- media-typer@0.3.0 
+-- camelcase-keys@4.2.0 
| +-- camelcase@4.1.0 
| +-- map-obj@2.0.0 
| `-- quick-lru@1.1.0 
+-- chart.js@1.1.1 
+-- cookie-session@2.0.0-beta.3 
| +-- cookies@0.7.1 
| | `-- keygrip@1.0.2 
| +-- debug@3.1.0 
| +-- on-headers@1.0.1 
| `-- safe-buffer@5.1.1 
+-- dataloader@1.4.0 
+-- dotenv@2.0.0 
+-- draft-js@0.7.0 
| +-- fbjs@0.8.17 
| | +-- core-js@1.2.7 
| | +-- promise@7.3.1 
| | +-- setimmediate@1.0.5 
| | `-- ua-parser-js@0.7.18 
| `-- immutable@3.8.2 
+-- express@4.16.3 
| +-- accepts@1.3.5 
| | `-- negotiator@0.6.1 
| +-- array-flatten@1.1.1 
| +-- body-parser@1.18.2 
| | +-- iconv-lite@0.4.19 
| | `-- raw-body@2.3.2 
| |   `-- http-errors@1.6.2 
| |     +-- depd@1.1.1 
| |     `-- setprototypeof@1.0.3 
| +-- content-disposition@0.5.2 
| +-- cookie@0.3.1 
| +-- cookie-signature@1.0.6 
| +-- encodeurl@1.0.2 
| +-- escape-html@1.0.3 
| +-- etag@1.8.1 
| +-- finalhandler@1.1.1 
| | `-- statuses@1.4.0 
| +-- fresh@0.5.2 
| +-- merge-descriptors@1.0.1 
| +-- methods@1.1.2 
| +-- parseurl@1.3.2 
| +-- path-to-regexp@0.1.7 
| +-- proxy-addr@2.0.4 
| | +-- forwarded@0.1.2 
| | `-- ipaddr.js@1.8.0 
| +-- qs@6.5.1 
| +-- range-parser@1.2.0 
| +-- safe-buffer@5.1.1 
| +-- send@0.16.2 
| | +-- destroy@1.0.4 
| | +-- mime@1.4.1 
| | `-- statuses@1.4.0 
| +-- serve-static@1.13.2 
| +-- setprototypeof@1.1.0 
| +-- statuses@1.4.0 
| +-- utils-merge@1.0.1 
| `-- vary@1.1.2 
+-- faker@3.1.0 
+-- fs@0.0.2 
+-- google-libphonenumber@1.1.2 
+-- graphql@0.13.2 
| `-- iterall@1.2.2 
+-- graphql-date@1.0.3 
| `-- assert-err@1.1.0 
|   `-- escape-string-regexp@1.0.5 
+-- graphql-tag@0.1.17 
+-- graphql-tools@2.24.0 
| +-- apollo-link@1.2.2 
| | +-- @types/graphql@0.12.6 
| | `-- zen-observable-ts@0.8.9 
| |   `-- zen-observable@0.8.9 
| +-- apollo-utilities@1.0.18 
| | `-- fast-json-stable-stringify@2.0.0 
| `-- deprecated-decorator@0.1.6 
+-- graphql-type-json@0.1.4 
+-- humps@1.1.0 
+-- is-url@1.2.4 
+-- isomorphic-fetch@2.2.1 
| `-- node-fetch@1.7.3 
|   `-- encoding@0.1.12 
+-- jest-each@0.3.1 
| `-- sprintf-js@1.1.1 
+-- json-loader@0.5.7 
+-- knex@0.13.0 
| +-- bluebird@3.5.1 
| +-- chalk@1.1.3 
| | +-- ansi-styles@2.2.1 
| | +-- has-ansi@2.0.0 
| | | `-- ansi-regex@2.1.1 
| | +-- strip-ansi@3.0.1 
| | `-- supports-color@2.0.0 
| +-- generic-pool@2.5.4 
| +-- inherits@2.0.3 
| +-- interpret@0.6.6 
| +-- liftoff@2.2.5 
| | +-- findup-sync@0.4.3 
| | | +-- detect-file@0.1.0 
| | | | `-- fs-exists-sync@0.1.0 
| | | `-- resolve-dir@0.1.1 
| | |   +-- expand-tilde@1.2.2 
| | |   `-- global-modules@0.2.3 
| | |     +-- global-prefix@0.1.5 
| | |     | +-- homedir-polyfill@1.0.1 
| | |     | | `-- parse-passwd@1.0.0 
| | |     | `-- ini@1.3.5 
| | |     `-- is-windows@0.2.0 
| | +-- flagged-respawn@0.3.2 
| | +-- rechoir@0.6.2 
| | `-- resolve@1.8.1 
| |   `-- path-parse@1.0.6 
| +-- minimist@1.1.3 
| +-- pg-connection-string@0.1.3 
| +-- readable-stream@1.1.14 
| | +-- core-util-is@1.0.2 
| | +-- isarray@0.0.1 
| | `-- string_decoder@0.10.31 
| +-- safe-buffer@5.1.2 
| `-- tildify@1.0.0 
+-- lodash@4.17.10 
+-- mailgun-js@0.16.0 
| +-- async@2.6.1 
| +-- debug@3.1.0 
| +-- form-data@2.3.2 
| | `-- asynckit@0.4.0 
| +-- inflection@1.12.0 
| +-- is-stream@1.1.0 
| +-- path-proxy@1.0.0 
| | `-- inflection@1.3.8 
| +-- promisify-call@2.0.4 
| | `-- with-callback@1.0.2 
| +-- proxy-agent@2.1.0 
| | +-- agent-base@2.1.1 
| | | `-- semver@5.0.3 
| | +-- http-proxy-agent@1.0.0 
| | +-- https-proxy-agent@1.0.0 
| | +-- lru-cache@2.6.5 
| | +-- pac-proxy-agent@2.0.2 
| | | +-- agent-base@4.2.1 
| | | | `-- es6-promisify@5.0.0 
| | | +-- debug@3.1.0 
| | | +-- get-uri@2.0.2 
| | | | +-- data-uri-to-buffer@1.2.0 
| | | | +-- file-uri-to-path@1.0.0 
| | | | `-- ftp@0.3.10 
| | | |   +-- readable-stream@1.1.14 
| | | |   | +-- isarray@0.0.1 
| | | |   | `-- string_decoder@0.10.31 
| | | |   `-- xregexp@2.0.0 
| | | +-- http-proxy-agent@2.1.0 
| | | +-- https-proxy-agent@2.2.1 
| | | +-- pac-resolver@3.0.0 
| | | | +-- degenerator@1.0.4 
| | | | | +-- ast-types@0.11.5 
| | | | | +-- escodegen@1.11.0 
| | | | | | `-- optionator@0.8.2 
| | | | | |   +-- deep-is@0.1.3 
| | | | | |   +-- fast-levenshtein@2.0.6 
| | | | | |   +-- levn@0.3.0 
| | | | | |   +-- prelude-ls@1.1.2 
| | | | | |   +-- type-check@0.3.2 
| | | | | |   `-- wordwrap@1.0.0 
| | | | | `-- esprima@3.1.3 
| | | | +-- ip@1.1.5 
| | | | +-- netmask@1.0.6 
| | | | `-- thunkify@2.1.2 
| | | `-- socks-proxy-agent@3.0.1 
| | `-- socks-proxy-agent@2.1.1 
| |   `-- socks@1.1.10 
| |     `-- smart-buffer@1.1.15 
| `-- tsscmp@1.0.6 
+-- material-ui@0.20.2 
| +-- inline-style-prefixer@3.0.8 
| | `-- css-in-js-utils@2.0.1 
| |   `-- isobject@3.0.1 
| +-- keycode@2.2.0 
| +-- lodash.throttle@4.1.1 
| +-- UNMET PEER DEPENDENCY react@^16.3.0
| +-- react-event-listener@0.6.2 
| | +-- @babel/runtime@7.0.0-beta.42 
| | `-- warning@4.0.1 
| +-- react-transition-group@1.2.1 
| | `-- dom-helpers@3.3.1 
| +-- recompose@0.26.0 
| | +-- change-emitter@0.1.6 
| | `-- hoist-non-react-statics@2.5.5 
| +-- simple-assign@0.1.0 
| `-- warning@3.0.0 
+-- material-ui-color-picker@1.0.1 
| +-- react@15.4.2 
| +-- react-color@2.14.1 
| | +-- material-colors@1.2.6 
| | +-- reactcss@1.2.3 
| | `-- tinycolor2@1.4.1 
| `-- recompose@0.22.0 
|   `-- hoist-non-react-statics@1.2.0 
+-- material-ui-datatables@0.18.2 
| `-- material-ui@0.18.0 
|   +-- inline-style-prefixer@3.0.8 
|   +-- react-addons-create-fragment@15.6.2 
|   +-- react-addons-transition-group@15.6.2 
|   +-- react-event-listener@0.4.5 
|   `-- recompose@0.23.5 
|     `-- hoist-non-react-statics@1.2.0 
+-- minilog@3.1.0 
| `-- microee@0.0.6 
+-- moment@2.22.2 
+-- moment-timezone@0.5.21 
+-- nexmo@1.2.1 
| +-- jsonwebtoken@7.4.3 
| | +-- joi@6.10.1 
| | | +-- hoek@2.16.3 
| | | +-- isemail@1.2.0 
| | | `-- topo@1.1.0 
| | +-- jws@3.1.5 
| | | `-- jwa@1.1.6 
| | |   +-- buffer-equal-constant-time@1.0.1 
| | |   `-- ecdsa-sig-formatter@1.0.10 
| | `-- lodash.once@4.1.1 
| `-- uuid@2.0.3 
+-- nodemailer@4.6.7 
+-- papaparse@4.6.0 
+-- passport@0.3.2 
| +-- passport-strategy@1.0.0 
| `-- pause@0.0.1 
+-- passport-auth0@0.6.1 
| +-- passport-oauth@1.0.0 
| | +-- passport-oauth1@1.1.0 
| | | `-- oauth@0.9.15 
| | `-- passport-oauth2@1.4.0 
| |   `-- uid2@0.0.3 
| `-- xtend@4.0.1 
+-- passport-local@1.0.0 
+-- passport-local-authenticate@1.2.0 
| +-- generaterr@1.5.0 
| `-- scmp@1.0.2 
+-- pg@6.4.2 
| +-- buffer-writer@1.0.1 
| +-- js-string-escape@1.0.1 
| +-- packet-reader@0.3.1 
| +-- pg-pool@1.8.0 
| | +-- generic-pool@2.4.3 
| | `-- object-assign@4.1.0 
| +-- pg-types@1.13.0 
| | +-- pg-int8@1.0.1 
| | +-- postgres-array@1.0.2 
| | +-- postgres-bytea@1.0.0 
| | +-- postgres-date@1.0.3 
| | `-- postgres-interval@1.1.2 
| +-- pgpass@1.0.2 
| | `-- split@1.0.1 
| |   `-- through@2.3.8 
| `-- semver@4.3.2 
+-- prop-types@15.6.2 
| +-- loose-envify@1.4.0 
| | `-- js-tokens@4.0.0 
| `-- object-assign@4.1.1 
+-- query-string@4.3.4 
| `-- strict-uri-encode@1.1.0 
+-- react@15.6.2 
| `-- create-react-class@15.6.3 
+-- react-addons-css-transition-group@15.6.2 
+-- react-apollo@0.3.21 
| +-- hoist-non-react-statics@1.2.0 
| `-- react-redux@4.4.9 
+-- react-async-script@0.6.0 
+-- react-chartjs@0.7.3 
+-- react-dom@15.6.2 
+-- react-formal@0.18.9 
| +-- chain-function@1.0.1 
| +-- classnames@2.2.6 
| +-- lodash@3.10.1 
| +-- pick-attributes@1.0.2 
| | `-- html-attributes@1.1.0 
| +-- property-expr@1.5.1 
| +-- react-input-message@0.13.3 
| +-- react-prop-types@0.3.2 
| | `-- warning@2.1.0 
| +-- react-pure-render@1.0.2 
| +-- spy-on-component@1.1.2 
| +-- topeka@0.3.6 
| +-- uncontrollable@3.3.1 
| `-- warning@2.1.0 
+-- react-router@2.8.1 
| +-- history@2.1.2 
| | +-- deep-equal@1.0.1 
| | +-- query-string@3.0.3 
| | `-- warning@2.1.0 
| `-- hoist-non-react-statics@1.2.0 
+-- react-router-redux@4.0.8 
+-- react-tap-event-plugin@2.0.1 
+-- redis@2.8.0 
| +-- double-ended-queue@2.1.0-0 
| +-- redis-commands@1.3.5 
| `-- redis-parser@2.6.0 
+-- redux@3.7.2 
| `-- lodash-es@4.17.10 
+-- redux-thunk@2.3.0 
+-- request@2.88.0 
| +-- aws-sign2@0.7.0 
| +-- aws4@1.8.0 
| +-- caseless@0.12.0 
| +-- combined-stream@1.0.6 
| | `-- delayed-stream@1.0.0 
| +-- extend@3.0.2 
| +-- forever-agent@0.6.1 
| +-- har-validator@5.1.0 
| | +-- ajv@5.5.2 
| | | +-- co@4.6.0 
| | | +-- fast-deep-equal@1.1.0 
| | | `-- json-schema-traverse@0.3.1 
| | `-- har-schema@2.0.0 
| +-- http-signature@1.2.0 
| | +-- assert-plus@1.0.0 
| | +-- jsprim@1.4.1 
| | | +-- extsprintf@1.3.0 
| | | +-- json-schema@0.2.3 
| | | `-- verror@1.10.0 
| | `-- sshpk@1.14.2 
| |   +-- asn1@0.2.4 
| |   +-- bcrypt-pbkdf@1.0.2 
| |   +-- dashdash@1.14.1 
| |   +-- ecc-jsbn@0.1.2 
| |   +-- getpass@0.1.7 
| |   +-- jsbn@0.1.1 
| |   `-- tweetnacl@0.14.5 
| +-- is-typedarray@1.0.0 
| +-- isstream@0.1.2 
| +-- json-stringify-safe@5.0.1 
| +-- mime-types@2.1.19 
| | `-- mime-db@1.35.0 
| +-- oauth-sign@0.9.0 
| +-- performance-now@2.1.0 
| +-- tough-cookie@2.4.3 
| | +-- psl@1.1.29 
| | `-- punycode@1.4.1 
| `-- tunnel-agent@0.6.0 
+-- rethink-knex-adapter@0.4.12 
| +-- bluebird@2.10.2 
| `-- rethinkdbdash@2.3.31 
+-- rollbar@0.6.6 
| +-- async@1.2.1 
| +-- debug@2.2.0 
| | `-- ms@0.7.1 
| +-- decache@3.1.0 
| | `-- find@0.2.9 
| |   `-- traverse-chain@0.1.0 
| +-- lru-cache@2.2.4 
| +-- request-ip@1.2.3 
| `-- uuid@3.0.1 
+-- thinky@2.3.9 
| +-- bluebird@2.10.2 
| `-- validator@3.34.0 
+-- timezonecomplete@5.6.0 
| `-- tzdata@1.0.11 
+-- twilio@2.11.1 
| +-- deprecate@0.1.0 
| +-- jsonwebtoken@5.4.1 
| | `-- ms@0.7.3 
| +-- q@0.9.7 
| +-- request@2.74.0 
| | +-- aws-sign2@0.6.0 
| | +-- bl@1.1.2 
| | | `-- readable-stream@2.0.6 
| | |   +-- process-nextick-args@1.0.7 
| | |   `-- string_decoder@0.10.31 
| | +-- caseless@0.11.0 
| | +-- form-data@1.0.1 
| | +-- har-validator@2.0.6 
| | | +-- is-my-json-valid@2.18.0 
| | | | +-- generate-function@2.0.0 
| | | | +-- generate-object-property@1.2.0 
| | | | | `-- is-property@1.0.2 
| | | | +-- is-my-ip-valid@1.0.0 
| | | | `-- jsonpointer@4.0.1 
| | | `-- pinkie-promise@2.0.1 
| | |   `-- pinkie@2.0.4 
| | +-- hawk@3.1.3 
| | | +-- boom@2.10.1 
| | | +-- cryptiles@2.0.5 
| | | `-- sntp@1.0.9 
| | +-- http-signature@1.1.1 
| | | `-- assert-plus@0.2.0 
| | +-- node-uuid@1.4.8 
| | +-- oauth-sign@0.8.2 
| | +-- qs@6.2.3 
| | +-- stringstream@0.0.6 
| | +-- tough-cookie@2.3.4 
| | | `-- punycode@1.4.1 
| | `-- tunnel-agent@0.4.3 
| +-- scmp@0.0.3 
| +-- string.prototype.startswith@0.2.0 
| `-- underscore@1.9.1 
+-- uuid@3.3.2 
+-- webpack@3.12.0 
| +-- acorn@5.7.1 
| +-- acorn-dynamic-import@2.0.2 
| | `-- acorn@4.0.13 
| +-- UNMET PEER DEPENDENCY ajv@6.5.2
| | +-- fast-deep-equal@2.0.1 
| | +-- json-schema-traverse@0.4.1 
| | `-- uri-js@4.2.2 
| |   `-- punycode@2.1.1 
| +-- ajv-keywords@3.2.0 
| +-- enhanced-resolve@3.4.1 
| +-- escope@3.6.0 
| | +-- es6-map@0.1.5 
| | | +-- d@1.0.0 
| | | +-- es5-ext@0.10.45 
| | | | `-- next-tick@1.0.0 
| | | +-- es6-iterator@2.0.3 
| | | +-- es6-set@0.1.5 
| | | +-- es6-symbol@3.1.1 
| | | `-- event-emitter@0.3.5 
| | +-- es6-weak-map@2.0.2 
| | +-- esrecurse@4.2.1 
| | `-- estraverse@4.2.0 
| +-- interpret@1.1.0 
| +-- loader-runner@2.3.0 
| +-- memory-fs@0.4.1 
| | +-- errno@0.1.7 
| | | `-- prr@1.0.1 
| | `-- readable-stream@2.3.6 
| |   +-- process-nextick-args@2.0.0 
| |   `-- util-deprecate@1.0.2 
| +-- node-libs-browser@2.1.0 
| | +-- assert@1.4.1 
| | | `-- util@0.10.3 
| | |   `-- inherits@2.0.1 
| | +-- browserify-zlib@0.2.0 
| | | `-- pako@1.0.6 
| | +-- console-browserify@1.1.0 
| | | `-- date-now@0.1.4 
| | +-- constants-browserify@1.0.0 
| | +-- crypto-browserify@3.12.0 
| | | +-- browserify-cipher@1.0.1 
| | | | +-- browserify-aes@1.2.0 
| | | | | `-- buffer-xor@1.0.3 
| | | | +-- browserify-des@1.0.2 
| | | | | `-- des.js@1.0.0 
| | | | `-- evp_bytestokey@1.0.3 
| | | +-- browserify-sign@4.0.4 
| | | | +-- bn.js@4.11.8 
| | | | +-- browserify-rsa@4.0.1 
| | | | +-- elliptic@6.4.1 
| | | | | +-- brorand@1.1.0 
| | | | | +-- hash.js@1.1.5 
| | | | | +-- hmac-drbg@1.0.1 
| | | | | +-- minimalistic-assert@1.0.1 
| | | | | `-- minimalistic-crypto-utils@1.0.1 
| | | | `-- parse-asn1@5.1.1 
| | | |   `-- asn1.js@4.10.1 
| | | +-- create-ecdh@4.0.3 
| | | +-- create-hash@1.2.0 
| | | | +-- cipher-base@1.0.4 
| | | | +-- md5.js@1.3.4 
| | | | | `-- hash-base@3.0.4 
| | | | +-- ripemd160@2.0.2 
| | | | `-- sha.js@2.4.11 
| | | +-- create-hmac@1.1.7 
| | | +-- diffie-hellman@5.0.3 
| | | | `-- miller-rabin@4.0.1 
| | | +-- pbkdf2@3.0.16 
| | | +-- public-encrypt@4.0.2 
| | | +-- randombytes@2.0.6 
| | | `-- randomfill@1.0.4 
| | +-- domain-browser@1.2.0 
| | +-- https-browserify@1.0.0 
| | +-- os-browserify@0.3.0 
| | +-- path-browserify@0.0.0 
| | +-- process@0.11.10 
| | +-- querystring-es3@0.2.1 
| | +-- stream-browserify@2.0.1 
| | +-- stream-http@2.8.3 
| | | +-- builtin-status-codes@3.0.0 
| | | `-- to-arraybuffer@1.0.1 
| | +-- string_decoder@1.1.1 
| | +-- timers-browserify@2.0.10 
| | +-- tty-browserify@0.0.0 
| | +-- url@0.11.0 
| | +-- util@0.10.4 
| | `-- vm-browserify@0.0.4 
| |   `-- indexof@0.0.1 
| +-- source-map@0.5.7 
| +-- supports-color@4.5.0 
| | `-- has-flag@2.0.0 
| +-- tapable@0.2.8 
| +-- uglifyjs-webpack-plugin@0.4.6 
| | +-- source-map@0.5.7 
| | `-- uglify-js@2.8.29 
| |   +-- source-map@0.5.7 
| |   +-- uglify-to-browserify@1.0.2 
| |   `-- yargs@3.10.0 
| |     +-- camelcase@1.2.1 
| |     +-- cliui@2.1.0 
| |     | +-- center-align@0.1.3 
| |     | | +-- align-text@0.1.4 
| |     | | | `-- longest@1.0.1 
| |     | | `-- lazy-cache@1.0.4 
| |     | +-- right-align@0.1.3 
| |     | `-- wordwrap@0.0.2 
| |     `-- window-size@0.1.0 
| +-- watchpack@1.6.0 
| | +-- chokidar@2.0.4 
| | | +-- anymatch@2.0.0 
| | | | `-- micromatch@3.1.10 
| | | |   +-- arr-diff@4.0.0 
| | | |   +-- define-property@2.0.2 
| | | |   | +-- is-descriptor@1.0.2 
| | | |   | | +-- is-accessor-descriptor@1.0.0 
| | | |   | | +-- is-data-descriptor@1.0.0 
| | | |   | | `-- kind-of@6.0.2 
| | | |   | `-- isobject@3.0.1 
| | | |   +-- extend-shallow@3.0.2 
| | | |   | +-- assign-symbols@1.0.0 
| | | |   | `-- is-extendable@1.0.1 
| | | |   |   `-- is-plain-object@2.0.4 
| | | |   |     `-- isobject@3.0.1 
| | | |   +-- extglob@2.0.4 
| | | |   | +-- define-property@1.0.0 
| | | |   | | `-- is-descriptor@1.0.2 
| | | |   | |   +-- is-accessor-descriptor@1.0.0 
| | | |   | |   `-- is-data-descriptor@1.0.0 
| | | |   | +-- expand-brackets@2.1.4 
| | | |   | | +-- define-property@0.2.5 
| | | |   | | | `-- is-descriptor@0.1.6 
| | | |   | | |   +-- is-accessor-descriptor@0.1.6 
| | | |   | | |   | `-- kind-of@3.2.2 
| | | |   | | |   +-- is-data-descriptor@0.1.4 
| | | |   | | |   | `-- kind-of@3.2.2 
| | | |   | | |   `-- kind-of@5.1.0 
| | | |   | | +-- extend-shallow@2.0.1 
| | | |   | | `-- posix-character-classes@0.1.1 
| | | |   | `-- extend-shallow@2.0.1 
| | | |   +-- fragment-cache@0.2.1 
| | | |   +-- kind-of@6.0.2 
| | | |   +-- nanomatch@1.2.13 
| | | |   | +-- arr-diff@4.0.0 
| | | |   | +-- array-unique@0.3.2 
| | | |   | +-- is-windows@1.0.2 
| | | |   | `-- kind-of@6.0.2 
| | | |   +-- object.pick@1.3.0 
| | | |   | `-- isobject@3.0.1 
| | | |   `-- regex-not@1.0.2 
| | | +-- braces@2.3.2 
| | | | +-- arr-flatten@1.1.0 
| | | | +-- array-unique@0.3.2 
| | | | +-- extend-shallow@2.0.1 
| | | | +-- fill-range@4.0.0 
| | | | | +-- extend-shallow@2.0.1 
| | | | | +-- is-number@3.0.0 
| | | | | | `-- kind-of@3.2.2 
| | | | | +-- repeat-string@1.6.1 
| | | | | `-- to-regex-range@2.1.1 
| | | | |   `-- is-number@3.0.0 
| | | | +-- isobject@3.0.1 
| | | | +-- repeat-element@1.1.2 
| | | | +-- snapdragon@0.8.2 
| | | | | +-- base@0.11.2 
| | | | | | +-- cache-base@1.0.1 
| | | | | | | +-- collection-visit@1.0.0 
| | | | | | | | +-- map-visit@1.0.0 
| | | | | | | | `-- object-visit@1.0.1 
| | | | | | | |   `-- isobject@3.0.1 
| | | | | | | +-- get-value@2.0.6 
| | | | | | | +-- has-value@1.0.0 
| | | | | | | | +-- has-values@1.0.0 
| | | | | | | | | +-- is-number@3.0.0 
| | | | | | | | | | `-- kind-of@3.2.2 
| | | | | | | | | `-- kind-of@4.0.0 
| | | | | | | | `-- isobject@3.0.1 
| | | | | | | +-- isobject@3.0.1 
| | | | | | | +-- set-value@2.0.0 
| | | | | | | | `-- extend-shallow@2.0.1 
| | | | | | | +-- to-object-path@0.3.0 
| | | | | | | +-- union-value@1.0.0 
| | | | | | | | `-- set-value@0.4.3 
| | | | | | | |   `-- extend-shallow@2.0.1 
| | | | | | | `-- unset-value@1.0.0 
| | | | | | |   +-- has-value@0.3.1 
| | | | | | |   | +-- has-values@0.1.4 
| | | | | | |   | `-- isobject@2.1.0 
| | | | | | |   `-- isobject@3.0.1 
| | | | | | +-- class-utils@0.3.6 
| | | | | | | +-- arr-union@3.1.0 
| | | | | | | +-- define-property@0.2.5 
| | | | | | | +-- isobject@3.0.1 
| | | | | | | `-- static-extend@0.1.2 
| | | | | | |   +-- define-property@0.2.5 
| | | | | | |   `-- object-copy@0.1.0 
| | | | | | |     +-- copy-descriptor@0.1.1 
| | | | | | |     `-- define-property@0.2.5 
| | | | | | +-- component-emitter@1.2.1 
| | | | | | +-- define-property@1.0.0 
| | | | | | | `-- is-descriptor@1.0.2 
| | | | | | |   +-- is-accessor-descriptor@1.0.0 
| | | | | | |   +-- is-data-descriptor@1.0.0 
| | | | | | |   `-- kind-of@6.0.2 
| | | | | | +-- isobject@3.0.1 
| | | | | | +-- mixin-deep@1.3.1 
| | | | | | | `-- is-extendable@1.0.1 
| | | | | | `-- pascalcase@0.1.1 
| | | | | +-- define-property@0.2.5 
| | | | | | `-- is-descriptor@0.1.6 
| | | | | |   +-- is-accessor-descriptor@0.1.6 
| | | | | |   +-- is-data-descriptor@0.1.4 
| | | | | |   `-- kind-of@5.1.0 
| | | | | +-- extend-shallow@2.0.1 
| | | | | +-- map-cache@0.2.2 
| | | | | +-- source-map@0.5.7 
| | | | | +-- source-map-resolve@0.5.2 
| | | | | | +-- atob@2.1.1 
| | | | | | +-- decode-uri-component@0.2.0 
| | | | | | +-- resolve-url@0.2.1 
| | | | | | +-- source-map-url@0.4.0 
| | | | | | `-- urix@0.1.0 
| | | | | `-- use@3.1.1 
| | | | +-- snapdragon-node@2.1.1 
| | | | | +-- define-property@1.0.0 
| | | | | | `-- is-descriptor@1.0.2 
| | | | | |   +-- is-accessor-descriptor@1.0.0 
| | | | | |   +-- is-data-descriptor@1.0.0 
| | | | | |   `-- kind-of@6.0.2 
| | | | | +-- isobject@3.0.1 
| | | | | `-- snapdragon-util@3.0.1 
| | | | +-- split-string@3.1.0 
| | | | `-- to-regex@3.0.2 
| | | |   `-- safe-regex@1.1.0 
| | | |     `-- ret@0.1.15 
| | | +-- glob-parent@3.1.0 
| | | | +-- is-glob@3.1.0 
| | | | `-- path-dirname@1.0.2 
| | | +-- is-glob@4.0.0 
| | | | `-- is-extglob@2.1.1 
| | | +-- lodash.debounce@4.0.8 
| | | `-- upath@1.1.0 
| | `-- neo-async@2.5.1 
| +-- webpack-sources@1.1.0 
| | +-- source-list-map@2.0.0 
| | `-- source-map@0.6.1 
| `-- yargs@8.0.2 
|   +-- cliui@3.2.0 
|   | +-- string-width@1.0.2 
|   | | +-- code-point-at@1.1.0 
|   | | `-- is-fullwidth-code-point@1.0.0 
|   | `-- wrap-ansi@2.1.0 
|   |   `-- string-width@1.0.2 
|   +-- decamelize@1.2.0 
|   +-- get-caller-file@1.0.3 
|   +-- os-locale@2.1.0 
|   | +-- execa@0.7.0 
|   | | +-- cross-spawn@5.1.0 
|   | | | +-- lru-cache@4.1.3 
|   | | | | +-- pseudomap@1.0.2 
|   | | | | `-- yallist@2.1.2 
|   | | | +-- shebang-command@1.2.0 
|   | | | | `-- shebang-regex@1.0.0 
|   | | | `-- which@1.3.1 
|   | | |   `-- isexe@2.0.0 
|   | | +-- get-stream@3.0.0 
|   | | +-- npm-run-path@2.0.2 
|   | | | `-- path-key@2.0.1 
|   | | +-- p-finally@1.0.0 
|   | | +-- signal-exit@3.0.2 
|   | | `-- strip-eof@1.0.0 
|   | +-- lcid@1.0.0 
|   | | `-- invert-kv@1.0.0 
|   | `-- mem@1.1.0 
|   |   `-- mimic-fn@1.2.0 
|   +-- read-pkg-up@2.0.0 
|   | `-- read-pkg@2.0.0 
|   |   +-- load-json-file@2.0.0 
|   |   | +-- parse-json@2.2.0 
|   |   | | `-- error-ex@1.3.2 
|   |   | |   `-- is-arrayish@0.2.1 
|   |   | +-- pify@2.3.0 
|   |   | `-- strip-bom@3.0.0 
|   |   +-- normalize-package-data@2.4.0 
|   |   | +-- hosted-git-info@2.7.1 
|   |   | +-- is-builtin-module@1.0.0 
|   |   | | `-- builtin-modules@1.1.1 
|   |   | `-- validate-npm-package-license@3.0.4 
|   |   |   +-- spdx-correct@3.0.0 
|   |   |   | `-- spdx-license-ids@3.0.0 
|   |   |   `-- spdx-expression-parse@3.0.0 
|   |   |     `-- spdx-exceptions@2.1.0 
|   |   `-- path-type@2.0.0 
|   |     `-- pify@2.3.0 
|   +-- require-directory@2.1.1 
|   +-- require-main-filename@1.0.1 
|   +-- set-blocking@2.0.0 
|   +-- string-width@2.1.1 
|   | +-- is-fullwidth-code-point@2.0.0 
|   | `-- strip-ansi@4.0.0 
|   |   `-- ansi-regex@3.0.0 
|   +-- which-module@2.0.0 
|   +-- y18n@3.2.1 
|   `-- yargs-parser@7.0.0 
+-- webpack-manifest-plugin@1.3.2 
| `-- fs-extra@0.30.0 
|   +-- jsonfile@2.4.0 
|   +-- klaw@1.3.1 
|   `-- rimraf@2.6.2 
`-- yup@0.19.1 
  +-- case@1.5.5 
  +-- fn-name@1.0.1 
  +-- toposort@0.2.12 
  +-- type-name@2.0.2 
  `-- universal-promise@1.1.0 

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN react-event-listener@0.6.2 requires a peer of react@^16.3.0 but none was installed.
validating package
Error: Cannot find module './build/server/server/index'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/tmp/VX6eXr/spoke-1.4.1-7BFZEg/package/lambda.js:4:13)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
cannot require ./lambda after clean installation. Check your dependencies.
bchrobot commented 6 years ago

hmm, try just packaging it with Claudia and then seeing what's actually in the package as a start. claudia pack doesn't take a JSON file with ENV vars unfortunately.

$ NODE_ENV=production \
    OUTPUT_DIR="./build" \
    PUBLIC_DIR="./build/client" \
    ASSETS_DIR="./build/client/assets" \
    STATIC_BASE_URL="https://s3.us-east-1.amazonaws.com/S3_BUCKET/static/" \
    BASE_URL="https://spoke.domain.com" \
    ASSETS_MAP_FILE="assets.json" \
    claudia pack --output ~/Desktop/

(this may also fail with the same error you got)

ibrand commented 4 years ago

@amancevice did you ever figure this out? I'm doing some issue clean out and am unsure if this is still a problem

amancevice commented 4 years ago

I did not—I haven't tried in some time, however. I know someone @ spoke was trying to get a terraform module together, but no idea where that stands.

Frydafly commented 3 years ago

Does creating a role (described here https://github.com/MoveOnOrg/Spoke/issues/1909) help with this issue? @amancevice @bchrobot

bchrobot commented 3 years ago

We migrated entirely to a Docker/Kubernetes based deploy a while ago and I'm not very familiar with this workflow anymore, sorry

schuyler1d commented 2 years ago

closing -- lambda and deploys have changed