apigee-127 / a127-documentation

Documentation for Apigee-127
113 stars 24 forks source link

tar.Extract is not a function #15

Open pacs opened 6 years ago

pacs commented 6 years ago
    .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 commented 5 years ago

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 commented 5 years ago

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 ?