-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install Fails - left-pad@0.0.3 is no longer on npm #6595
Comments
just to be clear this also means |
damn!!! the same issue but with Ember. Can't deploy to heroku anymore :( |
@kauffecup Running into this issue w React 0.14, so it's something not specific to react-native |
Kinda ironic considering the entire package is:
|
Makes you wonder what was in versions 0.0.4-0.0.8... |
Kinda ironic this thing isn't important at all... Very funny, string padding destroyed the whole infrastructure. LoL. Does someone tried to downgrade their npm version? |
It's such a simple library. |
This issue is also discussed here, but a workaround is to add this to your
|
@dimitriwalters this should be fixed now by re-installing babel (make sure latest) if you are on version 6 |
I ran |
For everyone giving +1: https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments [Note by @vjeux: I deleted all the +1 comments to make this issue easier to follow] |
|
Im getting this with react not react-native (If react has anything to do with the error). Just updated npm/node this morning and was going to update all my deps |
Author has pulled his packages from NPM. See https://medium.com/@azerbike/i-ve-just-liberated-my-modules-9045c06be67c#.y64upds2r |
Tracing backwards through the dependencies, Babel indirectly depends on left-pad. So basically that guy broke a ton of the JS ecosystem by indirectly breaking Babel (people reading this -- take note, probably not the best idea). Once Babel republishes their packages as either a patch or minor version update, npm will automatically get the latest version of Babel with the fix. Shrinkwrap wouldn't have helped because the author outright deleted the package from npm, so there's not much we could have done in this situation other than to statically ship the dependencies with react-native. Perhaps npm will come up with a better story around this -- ex: making it so that packages stay up for 24 hours and print a big warning about a pending removal if you try to install an unpublished version. |
This is hilarious 😆 , but not. 😭 |
User @azer mentions in his post that he would be glad to hand over ownership of a module—I'm assuming that means it's also OK to republish the module on NPM. Since this is such an extremely simple module, perhaps someone could take it over and republish 0.0.3? That might help lots of people avoid the extra work to fix this. |
I've published Babel 6.7.2 and 5.8.38 to fix this. The ranges in |
FYI: The library in question fits in a tweet (https://twitter.com/the_kenny/status/712414574658588672). Maybe people should finally start to think about what deserves to be an external dependency and what not. |
npm republished that version: https://twitter.com/seldo/status/712414400808755200 |
One of the dependencies in react-native (currently looking into which one - will post back here when I figure it out) depends on
left-pad@0.0.3
. 15 minutes ago (as of the writing of this issue) left-pad updated to 0.0.9 and they seem to have removed 0.0.3 from npm: https://www.npmjs.com/package/left-padThis results in the following error when simply running
npm i react-native
:😞
The text was updated successfully, but these errors were encountered: