Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

tar.Extract is not a function #15

Open
pacs opened this issue Nov 25, 2017 · 2 comments
Open

tar.Extract is not a function #15

pacs opened this issue Nov 25, 2017 · 2 comments

Comments

@pacs
Copy link

pacs commented Nov 25, 2017

    .pipe(tar.Extract({ path: directory }))
              ^

TypeError: tar.Extract is not a function
    at inflate (/usr/lib/node_modules/apigee-127/node_modules/usergrid-installer/lib/download.js:133:15)
    at /usr/lib/node_modules/apigee-127/node_modules/usergrid-installer/lib/download.js:77:5
    at /usr/lib/node_modules/apigee-127/node_modules/usergrid-installer/lib/download.js:123:11
    at FSReqWrap.oncomplete (fs.js:114:15)

The New tar seems to not have the needed function could you restrict ist to the 2 Version ?

@Technisiums
Copy link

Technisiums commented Nov 2, 2018

Hi, have you found any solution to this error?
if yes, please help me, thanks

    .pipe(tar.Extract({ path: directory }))
              ^

TypeError: tar.Extract is not a function
    at inflate (/usr/lib/node_modules/apigee-127/node_modules/usergrid-installer/lib/download.js:133:15)
    at /usr/lib/node_modules/apigee-127/node_modules/usergrid-installer/lib/download.js:77:5
    at /usr/lib/node_modules/apigee-127/node_modules/usergrid-installer/lib/download.js:123:11
    at FSReqWrap.oncomplete (fs.js:114:15)

The New tar seems to not have the needed function could you restrict ist to the 2 Version ?

@pacs
Copy link
Author

pacs commented Nov 2, 2018

sry - at the time i was playing around with baas to test the different solutions that exists.
i belive i adjusted the json ? and manualy set a previous version of the tar module ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants