react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

issue installing

Open Solitaryo opened this issue 10 years ago • 5 comments

If i run npm install --save react-pdf i got the @nnarhinen version, not yours, any idea why?

Solitaryo avatar Dec 01 '16 23:12 Solitaryo

@nnarhinen is the owner of npm package of that name which, in his case, is the same as the name of GitHub repository. I have already written to him as he is looking for maintainer, and I'm willing to take this responsibility. Until the name in npm is released by him, as a workaround, you can add this repo to your package.json by adding this line:

"react-pdf": "git://github.com/wojtekmaj/react-pdf.git"

And you should be good to go!

If you were using version 0.0.x by @nnarhinen, be sure to check out Upgrade guide.

wojtekmaj avatar Dec 01 '16 23:12 wojtekmaj

Would be nice if this fork could become the official version, or at least get merged back in again.

Installing from npm is nicer, particularly with yarn.

@nnarhinen, any update?

jarekwg avatar Feb 02 '17 23:02 jarekwg

@jarekwg Since I got no reply from him on several email, I've emailed npm team. We'll see what we can do :)

wojtekmaj avatar Feb 04 '17 12:02 wojtekmaj

Oh sorry. I did not notice any emails! I have now given you push rights to my repository. What's your NPM username, will add publish rights there too!

nnarhinen avatar Mar 03 '17 10:03 nnarhinen

@jarekwg @Solitaryo You should be able to enjoy the latest & greatest without any hacks now!

wojtekmaj avatar Mar 03 '17 22:03 wojtekmaj