@wbamberg pointed out that our documentation is no longer valid
It turns out cfx breaks on packages that declare dependencies on "addon-kit" or "api-utils" as such packages no longer exist and there for can't be found. This patch replaces these dependencies with
Either way I think we should change documentation to avoid people start depending on features that don't plan on supporting.
Pretend that everything depends on "addon-sdk" and
nothing depends on "addon-kit" or "api-utils".
I get the following error:
(addon-sdk)server:amo-addon-tester erikvold$ cfx run
Traceback (most recent call last):
File "/Users/erikvold/github/addon-sdk/bin/cfx", line 33, in <module>
File "/Users/erikvold/github/addon-sdk/python-lib/cuddlefish/__init__.py", line 650, in run
pkg_cfg = packaging.build_config(env_root, target_cfg, options.packagepath)
File "/Users/erikvold/github/addon-sdk/python-lib/cuddlefish/packaging.py", line 260, in build_config
pkgconfig = get_config_in_dir(path)
File "/Users/erikvold/github/addon-sdk/python-lib/cuddlefish/packaging.py", line 220, in get_config_in_dir
AttributeError: 'dict' object has no attribute 'append'
can you post package.json for the addon you cfx run ?