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

Yarn unable to install #1

Closed
lightninglu10 opened this issue Aug 1, 2017 · 4 comments
Closed

Yarn unable to install #1

lightninglu10 opened this issue Aug 1, 2017 · 4 comments

Comments

@lightninglu10
Copy link

Hey guys, this looks like an awesome library, but how do I install it with yarn?

I see the two latest commits you guys have made that address a yarn issue, but still not sure how to install this thing.

@lightninglu10
Copy link
Author

lightninglu10 commented Aug 2, 2017

also, when I try to install with the dist/react-citation.js file, I get a bunch of errors:

I'm doing import ReactCitation from '../../../assets/js/react-citation.js' and also tried

var ReactCitation = require('../../../assets/js/react-citation.js')

screen shot 2017-08-01 at 5 25 22 pm

@chadfennell
Copy link
Contributor

Hi @lightninglu10,

Thanks for your feedback. I have updated the installation instructions and created an example project to demonstrate how to include react-citation in your project: https://github.com/UMNLibraries/react-citation-demo

I'll be refactoring this project in a couple of months, improving the overall code quality (this was one of my first react components) and replacing some of my custom code with react-router.

So, do let me know if you run into any issues or feel like there are critical features missing. I'll hopefully be in a place be be a bit more responsive in the coming months.

@lightninglu10
Copy link
Author

Hey @chadfennell , thanks for the quick response!

I'm trying to install the package right now --

yarn add git+https://github.com/UMNLibraries/react-citation.git#51682c87e55bd

asks me to input an SSH password, and

npm install --save git+https://github.com/UMNLibraries/react-citation.git

hangs.

Still not sure how I include this library into my project!

@lightninglu10
Copy link
Author

Oh, just kidding...

So for anyone else who has this issue, it's actually asking you for YOUR own RSA key. So type in your password for your RSA Key! And each time it asks you twice.

Installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants