You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to publish a new component to a registry, I get the following error:
An error happened when publishing the component: TypeError: targz.extract is not a function
at module.exports (/usr/src/app/node_modules/oc/src/registry/domain/extract-package.js:16:9)
at /usr/src/app/node_modules/oc/src/registry/routes/publish.js:43:5
at callbacks (/usr/src/app/node_modules/oc/node_modules/express/lib/router/index.js:164:37)
at options.beforePublish (/usr/src/app/node_modules/oc/src/registry/domain/options-sanitiser.js:14:55)
at callbacks (/usr/src/app/node_modules/oc/node_modules/express/lib/router/index.js:164:37)
at param (/usr/src/app/node_modules/oc/node_modules/express/lib/router/index.js:138:11)
at param (/usr/src/app/node_modules/oc/node_modules/express/lib/router/index.js:135:11)
at param (/usr/src/app/node_modules/oc/node_modules/express/lib/router/index.js:135:11)
at pass (/usr/src/app/node_modules/oc/node_modules/express/lib/router/index.js:145:5)
at Router._dispatch (/usr/src/app/node_modules/oc/node_modules/express/lib/router/index.js:173:5)
OC version: 0.33.22
node: 6.5.0
When trying to publish a new component to a registry, I get the following error:
The documentation for the package
targz
(https://www.npmjs.com/package/targz) says to use the functiondecompress
instead ofextract
Am I missing something ? Any help appreciated :)
The text was updated successfully, but these errors were encountered: