Skip to content
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

Not found on NPM #4

Closed
paulwib opened this issue Jan 6, 2018 · 49 comments
Closed

Not found on NPM #4

paulwib opened this issue Jan 6, 2018 · 49 comments

Comments

@paulwib
Copy link

paulwib commented Jan 6, 2018

Seems to have gone 404, also see floatdrop/pinkie#16.

@BlackHole1
Copy link

Temporary solution:
npm install --save pinkie-promise@2.0.2

@thangngoc89
Copy link

It's back online.

@jmeridth
Copy link

jmeridth commented Jan 6, 2018

Kind of but not really 😢
screenshot from 2018-01-06 11-00-03

@thangngoc89
Copy link

Yarn install works again for me.

@gniquil
Copy link

gniquil commented Jan 6, 2018

And can't use your temporary solution as i don't even know which lib is actually using this lib

@jarretmoses
Copy link

This does not seem to appear on the Yarn registry as of now. @thangngoc89 you can install this through yarn?

@thangngoc89
Copy link

@gniquil I don't know about npm, but yarn will produce and log file and you can trace it in there

webpack-dev-server -> yargs@6.0.6 -> find-up -> pkg-up -> pinkie-promise

@BlackHole1
Copy link

@gniquil You can look at the log file. Find out the invoked package. It seems that NPM is backing up?

@thangngoc89
Copy link

yarn is down again :(

@chrisbutler
Copy link

still not working on npm for me

@gniquil
Copy link

gniquil commented Jan 6, 2018

@thangngoc89 haha ok yeah, webpacker for rails for me.

So does that mean all Rails with webpacker deployment is now broken?

@BlackHole1
Copy link

other package also have problems

@thangngoc89
Copy link

@gniquil pretty much everyone who's working on frontend projects these days will be affected

@BlackHole1
Copy link

@thangngoc89 What's the matter?

@thangngoc89
Copy link

@BlackHole1 it's a dependency of dependency of webpack-dev-server

@thangngoc89
Copy link

@floatdrop could you please republish the old versions?

Here is the list:

1.0.0
2.0.0
2.0.1
2.0.2

@thangngoc89
Copy link

For anyone who's reading this thread, @floatdrop has unpublished all of his packages (sounds like leftpad to me). Random people is taking the package so please do not install the code. !!!

@squigg
Copy link

squigg commented Jan 6, 2018

It's gone again:
image

@paulwib
Copy link
Author

paulwib commented Jan 6, 2018

@squigg please don't ask people to claim this package until we hear from @floatdrop.

@thangngoc89
Copy link

@paulwib it have already been claimed

@mbensch
Copy link

mbensch commented Jan 6, 2018

@floatdrop's NPM account was deleted and all his packages. I have re-published a few but it's way too much. I can't republish older versions but I can probably publish a new 1.0.X Not really sure what to do from here because it's breaking a lot of stuff right now.

@squigg
Copy link

squigg commented Jan 6, 2018

@paulwib it was already re-claimed and re-published, and then went again, hence my comment. Considering npm itself pretty much asks you to claim it when you browse (that's a screenshot of the npm website btw!), I didn't think I was pointing out anything over and above the obvious.

@Oduig
Copy link

Oduig commented Jan 6, 2018

Leftpad 2.0. This package is now breaking all Ionic builds:

https://stackoverflow.com/questions/48131111/ionic-pro-build-failed-npm-err-404-not-found-pinkie-promise/48131180#48131180

What does it mean for someone to re-claim the package? Could they push malicious code to have everyone pull it in, or is that not a risk?

@squigg
Copy link

squigg commented Jan 6, 2018

Yes I think this is possible. See mbensch post above, as he already did this.

@paulwib
Copy link
Author

paulwib commented Jan 6, 2018

@squigg fair enough, it's difficult to know what to do in these situations. People want to help by republishing packages, but of course someone malicious could republish a new patch version with malicious code and people without lock files could unintentionally pull it into their build.

@Amurmurmur
Copy link

Amurmurmur commented Jan 6, 2018

@mbensch They ask not to republish packages:
https://status.npmjs.org/incidents/41zfb8qpvrdj

@kbrandwijk
Copy link

@Amurmurmur they ask NOT to republish

@Amurmurmur
Copy link

@kbrandwijk Mistypo :/

@quentinyang
Copy link

waiting for recovery

@jcreamer898
Copy link

I'm having flashbacks to leftpad...

@sualex
Copy link

sualex commented Jan 6, 2018

+1. The work has stopped for me ( . Meteor project.

@sixertoy
Copy link

sixertoy commented Jan 6, 2018

warning electron > electron-download > nugget > progress-stream > through2 > xtend > object-keys@0.4.0:
error Received malformed response from registry for "pinkie-promise". The registry may be down.

:'(

@Taylor123
Copy link

Still seeing 404 on npm

@staycreativedesign
Copy link

So I just did a

npm install ionic cordova -g

and its not finding pinkie-promise and im assuming its because he pulled it?? What are the next steps?

@shacal
Copy link

shacal commented Jan 6, 2018

This is one of the biggest reason, I hate people to use packages "IsString" etc that do stupid one-liners and then are used everywhere.
Code more, less packet whoring...

@Amurmurmur
Copy link

Guys for everyone who is waiting on pinkie-promise
https://gist.github.com/Amurmurmur/860691b93e391a86facede780656f8ab

@sgnl
Copy link

sgnl commented Jan 6, 2018

npm/registry/issues/255

@brunocroh
Copy link

brunocroh commented Jan 6, 2018

@liquidmetal
Copy link

This is being tracked here: https://github.com/npm/registry/issues/255

@anedisi
Copy link

anedisi commented Jan 6, 2018

it looks like its restored again, it works for me

@shacal
Copy link

shacal commented Jan 6, 2018

Sysadmins replacing Intel machines with Raspberry PI's :D

@krupper
Copy link

krupper commented Jan 6, 2018

it's solved :D

@risinek
Copy link

risinek commented Jan 6, 2018

party's over, back to work

@danielweck
Copy link

Beware though, because pinkie was re-published by another dev!
floatdrop/pinkie#18 (comment)

@danielweck
Copy link

You may track the pinkie issue at NPM's "registry" repository: https://github.com/npm/registry/issues/256

@danielweck
Copy link

Update:
https://github.com/npm/registry/issues/256#issuecomment-355785321
Probably a good idea to clear npm / yarn cache, node_modules, and lock files...

@czuendorf
Copy link

Rethink the usage of this package, and the necessity of an additional dependency.
I know it may be easier to type "npm install" than to think about a solution. But today you all discovered the disadvantages. Only create dependencies when they are needed (and for good reasons) and not because ONE line of code. Even copy-paste would be faster than 'npm install' and 'require("pinkie-promise")':
https://github.com/floatdrop/pinkie-promise/blob/master/index.js#L3

Imagine what happens if someone creates a module, waits until it is used quite often, and then deletes it because of bad intentions.

Require modules which you can rely on, and which are maintained but not only one person.

@floatdrop
Copy link
Owner

party's over, back to work

Missed whole party. Oh gosh.

Repository owner locked as resolved and limited conversation to collaborators Jan 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests