Skip to content

Instantly share code, notes, and snippets.

@thesurlydev
Created December 7, 2018 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thesurlydev/308f5dab4f99aecb64719ba1d2b15420 to your computer and use it in GitHub Desktop.
Save thesurlydev/308f5dab4f99aecb64719ba1d2b15420 to your computer and use it in GitHub Desktop.
aws-cdk build woes
> @aws-cdk/aws-s3-deployment@0.19.0 test /Users/switbe/lib/aws-cdk/packages/@aws-cdk/aws-s3-deployment
> cdk-test
Collecting awscli==1.16.34 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/f5/bf/3da21b6dc4c32bc8e60a4d145b1cf74944dc34557322a123795c6d13207f/awscli-1.16.34-py2.py3-none-any.whl
Collecting docutils>=0.10 (from awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/36/fa/08e9e6e0e3cbd1d362c3bbee8d01d0aedb2155c4ac112b19ef3cae8eed8d/docutils-0.14-py3-none-any.whl
Collecting s3transfer<0.2.0,>=0.1.12 (from awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl
Collecting rsa<=3.5.0,>=3.1.2 (from awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl
Collecting colorama<=0.3.9,>=0.2.5 (from awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Collecting PyYAML<=3.13,>=3.10 (from awscli==1.16.34->-r requirements.txt (line 1))
Collecting botocore==1.12.24 (from awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/f2/d5/87898cf85de64d62ae716cb2397cd3e58cdf3ba82847b0803bd2c4393f78/botocore-1.12.24-py2.py3-none-any.whl
Collecting pyasn1>=0.1.3 (from rsa<=3.5.0,>=3.1.2->awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl
Collecting python-dateutil<3.0.0,>=2.1; python_version >= "2.7" (from botocore==1.12.24->awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl
Collecting jmespath<1.0.0,>=0.7.1 (from botocore==1.12.24->awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl
Collecting urllib3<1.24,>=1.20 (from botocore==1.12.24->awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1; python_version >= "2.7"->botocore==1.12.24->awscli==1.16.34->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Installing collected packages: docutils, six, python-dateutil, jmespath, urllib3, botocore, s3transfer, pyasn1, rsa, colorama, PyYAML, awscli
lerna ERR! npm run test stderr:
boto3 1.9.58 has requirement botocore<1.13.0,>=1.12.58, but you'll have botocore 1.12.24 which is incompatible.
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 143, in main
status = self.run(options, args)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 366, in run
use_user_site=options.use_user_site,
File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 49, in install_given_reqs
**kwargs
File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 760, in install
use_user_site=use_user_site, pycompile=pycompile,
File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 382, in move_wheel_files
warn_script_location=warn_script_location,
File "/usr/local/lib/python3.7/site-packages/pip/_internal/wheel.py", line 215, in move_wheel_files
prefix=prefix,
File "/usr/local/lib/python3.7/site-packages/pip/_internal/locations.py", line 165, in distutils_scheme
i.finalize_options()
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/command/install.py", line 248, in finalize_options
"must supply either home or prefix/exec-prefix -- not both")
distutils.errors.DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both
Error: '/bin/bash lambda/test.sh' exited with error code 2
Tests failed. Total time (3.1s) | /bin/bash lambda/test.sh (3.1s)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @aws-cdk/aws-s3-deployment@0.19.0 test: `cdk-test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @aws-cdk/aws-s3-deployment@0.19.0 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/switbe/.npm/_logs/2018-12-07T01_55_16_797Z-debug.log
lerna ERR! npm run test exited 1 in '@aws-cdk/aws-s3-deployment'
❌ Last command failed. Scroll up to see errors in log (search for '!!!!!!!!').
Package Version
------------------- ----------
arrow 0.12.1
aws-lambda-builders 0.0.3
aws-sam-cli 0.8.1
aws-sam-translator 1.9.0
awscli 1.16.71
binaryornot 0.4.4
boto3 1.9.61
botocore 1.12.61
certifi 2018.11.29
cfn-lint 0.9.2
chardet 3.0.4
chevron 0.13.1
click 6.7
colorama 0.3.9
cookiecutter 1.6.0
dateparser 0.7.0
docker 3.6.0
docker-pycreds 0.4.0
docutils 0.14
Flask 1.0.2
future 0.17.1
idna 2.7
itsdangerous 1.1.0
Jinja2 2.10
jinja2-time 0.2.0
jmespath 0.9.3
jsonpatch 1.23
jsonpointer 2.0
jsonschema 2.6.0
MarkupSafe 1.1.0
pathlib2 2.3.3
pip 18.1
poyo 0.4.2
pyasn1 0.4.4
python-dateutil 2.7.5
pytz 2018.7
PyYAML 3.13
regex 2018.11.22
requests 2.20.1
rsa 3.4.2
s3transfer 0.1.13
setuptools 40.5.0
six 1.11.0
tzlocal 1.5.1
urllib3 1.24.1
websocket-client 0.54.0
Werkzeug 0.14.1
wheel 0.32.2
whichcraft 0.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment