jscs-dev / node-jscs

:arrow_heading_up: JavaScript Code Style checker (unmaintained)
https://jscs-dev.github.io
MIT License
4.96k stars 513 forks source link

npm ERR: "version not found: left-pad@0.0.3" #2186

Closed Krinkle closed 8 years ago

Krinkle commented 8 years ago

Most Travis builds using jscs started breaking today for me.

npm ERR! node v5.5.0
npm ERR! npm  v3.7.5

npm ERR! No compatible version found: left-pad@0.0.3
npm ERR! Valid install targets:
npm ERR! 0.0.9
├─┬ jscs@2.10.1
│ ├─┬ babel-jscs@2.0.5
│ │ ├─┬ babel-core@5.8.35
│ │ │ ├─┬ line-numbers@0.2.0
│ │ │ │ └── left-pad@0.0.3

It seems #2102 / cc5aa3538af0 would fix it (by no longer using babel-core all together), however that doesn't help stable release at the moment.

Could this be backported or otherwise fixed so that things aren't broken?

Note: I can still reproduce it with jscs v2.11.0.

jishi commented 8 years ago

https://medium.com/@azerbike/i-ve-just-liberated-my-modules-9045c06be67c#.15h0zv9yn

Nice dependency to have... for such a simple task.

benbrown commented 8 years ago

babel-core has been updated to fix this issue (5.8.38)

https://github.com/azer/left-pad/issues/4#issuecomment-200068277

paladox commented 8 years ago

It works now.

matthewhadley commented 8 years ago

@paladox it's not working for me

npm install left-pad@0.0.3
npm ERR! Darwin 15.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "--registry" "https://registry.npmjs.org" "install" "left-pad@0.0.3"
npm ERR! node v0.12.7
npm ERR! npm  v2.14.8

npm ERR! version not found: left-pad@0.0.3
paladox commented 8 years ago

@diffsky see https://twitter.com/seldo/status/712414588281552900

matthewhadley commented 8 years ago

@paladox yeah, I'm still not able to install it and I've verified with a few folks around me. Maybe something hasn't propagated.

matthewhadley commented 8 years ago

Working for me now

$ npm --registry https://registry.npmjs.org install left-pad@0.0.3
left-pad@0.0.3 node_modules/left-pad
hzoo commented 8 years ago

Yep seems to be fixed - I would follow https://github.com/azer/left-pad/issues/4 for more updates.

(new babel version published for babel5/6 and package was restored - and package is restored