Open lukemelia opened 8 years ago
Update. I've discovered the --debug
flag (thanks @chrislopresto!). Output:
➜ gordon build --debug --stage prod
Loading project resources
✓ contexts:default
✓ apigateway:slackdeployslashcommand
Loading installed applications
contrib_lambdas:
✓ lambdas:version
ember-deployers:
✓ lambdas:travis-ember-deploy
Building project...
0001_p.json
cp -Rf * /Users/lmelia/.gordon/tmpWg0TT7
pip install --install-option="--prefix=" -r requirements.txt -q -t /Users/lmelia/.gordon/tmpWg0TT7
/usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/pip/commands/install.py:180: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options)
cd /Users/lmelia/.gordon/tmpWg0TT7 && find . -name "*.pyc" -delete
cp -Rf * /Users/lmelia/.gordon/tmpqOh2Ps
cd /Users/lmelia/.gordon/tmpqOh2Ps && npm install
npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
npm WARN package.json @ No license field.
> fsevents@1.0.14 install /Users/lmelia/.gordon/tmpqOh2Ps/node_modules/babel-cli/node_modules/chokidar/node_modules/fsevents
> node-pre-gyp install --fallback-to-build
[fsevents] Success: "/Users/lmelia/.gordon/tmpqOh2Ps/node_modules/babel-cli/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v46-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
dotenv@2.0.0 node_modules/dotenv
bluebird@3.4.1 node_modules/bluebird
slack-notify@0.1.6 node_modules/slack-notify
├── request@2.74.0 (tunnel-agent@0.4.3, aws-sign2@0.6.0, oauth-sign@0.8.2, forever-agent@0.6.1, caseless@0.11.0, is-typedarray@1.0.0, stringstream@0.0.5, aws4@1.4.1, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, tough-cookie@2.3.1, qs@6.2.1, node-uuid@1.4.7, combined-stream@1.0.5, mime-types@2.1.11, form-data@1.0.0-rc4, bl@1.1.2, hawk@3.1.3, http-signature@1.1.1, har-validator@2.0.6)
└── lodash@3.10.1
aws-sdk@2.4.13 node_modules/aws-sdk
├── sax@1.1.5
├── xml2js@0.4.15
├── jmespath@0.15.0
└── xmlbuilder@2.6.2 (lodash@3.5.0)
request-promise@3.0.0 node_modules/request-promise
├── request@2.74.0 (tunnel-agent@0.4.3, aws-sign2@0.6.0, forever-agent@0.6.1, oauth-sign@0.8.2, caseless@0.11.0, is-typedarray@1.0.0, stringstream@0.0.5, aws4@1.4.1, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, tough-cookie@2.3.1, qs@6.2.1, node-uuid@1.4.7, combined-stream@1.0.5, mime-types@2.1.11, form-data@1.0.0-rc4, bl@1.1.2, hawk@3.1.3, http-signature@1.1.1, har-validator@2.0.6)
└── lodash@4.14.2
babel-cli@6.11.4 node_modules/babel-cli
├── slash@1.0.0
├── path-exists@1.0.0
├── log-symbols@1.0.2
├── fs-readdir-recursive@0.1.2
├── path-is-absolute@1.0.0
├── convert-source-map@1.3.0
├── commander@2.9.0 (graceful-readlink@1.0.1)
├── v8flags@2.0.11 (user-home@1.1.1)
├── source-map@0.5.6
├── chalk@1.1.1 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1)
├── glob@5.0.15 (inherits@2.0.1, once@1.3.3, inflight@1.0.5, minimatch@3.0.3)
├── output-file-sync@1.1.2 (object-assign@4.1.0, graceful-fs@4.1.5, mkdirp@0.5.1)
├── request@2.74.0 (aws-sign2@0.6.0, tunnel-agent@0.4.3, oauth-sign@0.8.2, forever-agent@0.6.1, is-typedarray@1.0.0, caseless@0.11.0, stringstream@0.0.5, aws4@1.4.1, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, tough-cookie@2.3.1, qs@6.2.1, node-uuid@1.4.7, combined-stream@1.0.5, mime-types@2.1.11, form-data@1.0.0-rc4, bl@1.1.2, hawk@3.1.3, http-signature@1.1.1, har-validator@2.0.6)
├── bin-version-check@2.1.0 (minimist@1.2.0, semver-truncate@1.1.2, semver@4.3.6, bin-version@1.0.4)
├── babel-core@6.13.2 (babel-messages@6.8.0, babel-template@6.9.0, shebang-regex@1.0.0, babel-helpers@6.8.0, private@0.1.6, babel-code-frame@6.11.0, debug@2.2.0, babylon@6.8.4, minimatch@3.0.3, babel-types@6.13.0, babel-traverse@6.13.0, babel-generator@6.11.4, json5@0.4.0)
├── lodash@4.14.2
├── babel-register@6.11.6 (home-or-tmp@1.0.0, mkdirp@0.5.1, source-map-support@0.2.10, core-js@2.4.1)
├── babel-polyfill@6.13.0 (regenerator-runtime@0.9.5, core-js@2.4.1)
├── chokidar@1.6.0 (inherits@2.0.1, glob-parent@2.0.0, async-each@1.0.0, is-glob@2.0.1, is-binary-path@1.0.1, readdirp@2.1.0, anymatch@1.3.0, fsevents@1.0.14)
└── babel-runtime@6.11.6 (regenerator-runtime@0.9.5, core-js@2.4.1)
babel-preset-es2015@6.13.2 node_modules/babel-preset-es2015
├── babel-plugin-transform-es2015-literals@6.8.0 (babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-arrow-functions@6.8.0 (babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-typeof-symbol@6.8.0 (babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-spread@6.8.0 (babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-block-scoped-functions@6.8.0 (babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-destructuring@6.9.0 (babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-template-literals@6.8.0 (babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-for-of@6.8.0 (babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-modules-amd@6.8.0 (babel-template@6.9.0, babel-runtime@6.11.6)
├── babel-plugin-check-es2015-constants@6.8.0 (babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-computed-properties@6.8.0 (babel-helper-define-map@6.9.0, babel-template@6.9.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-duplicate-keys@6.8.0 (babel-types@6.13.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-unicode-regex@6.11.0 (regexpu-core@2.0.0, babel-helper-regex@6.9.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-sticky-regex@6.8.0 (babel-helper-regex@6.9.0, babel-types@6.13.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-modules-umd@6.12.0 (babel-template@6.9.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-shorthand-properties@6.8.0 (babel-types@6.13.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-modules-commonjs@6.11.5 (babel-plugin-transform-strict-mode@6.11.3, babel-template@6.9.0, babel-types@6.13.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-object-super@6.8.0 (babel-helper-replace-supers@6.8.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-function-name@6.9.0 (babel-types@6.13.0, babel-helper-function-name@6.8.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-modules-systemjs@6.12.0 (babel-template@6.9.0, babel-helper-hoist-variables@6.8.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-block-scoping@6.10.1 (babel-types@6.13.0, babel-template@6.9.0, babel-traverse@6.13.0, lodash@4.14.2, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-classes@6.9.0 (babel-helper-replace-supers@6.8.0, babel-helper-optimise-call-expression@6.8.0, babel-messages@6.8.0, babel-helper-function-name@6.8.0, babel-template@6.9.0, babel-helper-define-map@6.9.0, babel-types@6.13.0, babel-traverse@6.13.0, babel-runtime@6.11.6)
├── babel-plugin-transform-es2015-parameters@6.11.4 (babel-helper-get-function-arity@6.8.0, babel-helper-call-delegate@6.8.0, babel-template@6.9.0, babel-types@6.13.0, babel-traverse@6.13.0, babel-runtime@6.11.6)
└── babel-plugin-transform-regenerator@6.11.4 (babel-plugin-syntax-async-functions@6.13.0, private@0.1.6, babylon@6.8.4, babel-types@6.13.0, babel-traverse@6.13.0, babel-core@6.13.2, babel-runtime@6.11.6)
cd /Users/lmelia/.gordon/tmpqOh2Ps && ./node_modules/babel-cli/bin/babel.js *.js --out-dir /Users/lmelia/.gordon/tmpqOh2Ps
code.js -> /Users/lmelia/.gordon/tmpqOh2Ps/code.js
config.js -> /Users/lmelia/.gordon/tmpqOh2Ps/config.js
kms.js -> /Users/lmelia/.gordon/tmpqOh2Ps/kms.js
project-registry.js -> /Users/lmelia/.gordon/tmpqOh2Ps/project-registry.js
slack.js -> /Users/lmelia/.gordon/tmpqOh2Ps/slack.js
travis.js -> /Users/lmelia/.gordon/tmpqOh2Ps/travis.js
Any suggestions?
This turned out to be due to the number of files being zipped up being too large, which is due to the babel-cli and babel-preset npm packages. I modified my build step to remove those modules from the target after transpilation has been performed, and then I am able to complete gordon build
successfully.
I recently set up a new laptop and am now having trouble running
gordon build
on a project that previously worked fine. Not being a python developer, I'm not sure how I should go about troubleshooting this. Can you make a suggestion? My output is as follows: