hey, i am trying to install `tap-facebook` which l...
# troubleshooting
f
hey, i am trying to install
tap-facebook
which leads to this error:
Copy code
Extractor 'tap-facebook' could not be installed: failed to install plugin 'tap-facebook'.
  ERROR: Cannot unpack file /private/var/fGolders/v6/n_bph68x415ftwrk_xvn2wwm0000gn/T/pip-unpack-jbap7rma/tap-facebook (downloaded from /private/var/folders/v6/n_bph68x415ftwrk_xvn2wwm0000gn/T/pip-req-build-9fj_hazg, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /private/var/folders/v6/n_bph68x415ftwrk_xvn2wwm0000gn/T/pip-req-build-9fj_hazg
installing the tap directly with pip doesnt cause an issue.
v
Can you share your
meltano.yml
?
f
Copy code
version: 1
send_anonymous_usage_stats: false
project_id: 429aa36e-2635-453b-bd6a-402923052d47
plugins:
  extractors:
  - name: tap-facebook
    variant: singer-io
    pip_url: <https://github.com/singer-io/tap-facebook>
    config:
      start_date: "2019-01-01T00:00:00Z"
      account_id: "${TAP_FACEBOOK_ACCOUNT_ID}"
      access_token: "${TAP_FACEBOOK_ACCESS_TOKEN}"
v
How'd you build
Copy code
pip_url: <https://github.com/singer-io/tap-facebook>
? Did you follow https://docs.meltano.com/guide/plugin-management#custom-plugins ? There's one key piece missing in that url 😄
(git+) 🙂
f
git+
will try
v
Also
meltano add extractor tap-facebook
should work now a days 😄
f
i dont like using the cli to interact with the yaml because it removes my comments and formatting. this leaves me at risk for mistakes like this, which is now fixed, i tested
v
Can't find the PR but I"m pretty certain Meltano implemented ruaml which keeps order and comments, it's very new. Not sure if it's released yet
f
good to know, and thank you for spotting the issue
running into new issues now
You are calling a deprecated version of the Ads API. Please update to the latest version: v14.0.
will call it a day for now, cheers from germany
v
Prost!
Have a good one