BenoitZugmeyer / eslint-plugin-html

An ESLint plugin to extract and lint scripts from HTML files.
ISC License
430 stars 51 forks source link

2.0.2 npm ERR! cb() never called! #53

Closed adinvadim closed 7 years ago

adinvadim commented 7 years ago

on yarn install

error An unexpected error occurred: "https://registry.yarnpkg.com/eslint-plugin-html/-/eslint-plugin-html-2.0.2.tgz: invalid tar file".

on npm install eslint-plugin-html@2.0.2

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
karamanolev commented 7 years ago

Related bug report from npm with more debugging information: https://github.com/npm/npm/issues/16551

bleepsandblops commented 7 years ago

Same issue here. Worked around it by installing previous version npm install eslint-plugin-html@2.0.1

BenoitZugmeyer commented 7 years ago

Thank you for reporting, I'll investigate.

nkovacs commented 7 years ago

It might just be a corrupted upload: https://github.com/binarykitchen/spider-detector/issues/7#issuecomment-295927780

yoyo837 commented 7 years ago

Same issue.

Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?

BenoitZugmeyer commented 7 years ago

I just republished my package, it should work now.

nkovacs commented 7 years ago

Thanks, it works now.

BenoitZugmeyer commented 7 years ago

I don't know why, but yarn publish fails or produce invalid packages. Using npm publish works though.

nkovacs commented 7 years ago

Yarn bug: https://github.com/yarnpkg/yarn/issues/2764

BenoitZugmeyer commented 7 years ago

Ha, thank you very much I was looking for this :)