-
Notifications
You must be signed in to change notification settings - Fork 20
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
Doesn't work with create-react-app #63
Comments
Huh. Works as expected without CRA... Guess I should rename this issue. |
Seems to be related to If I enter anything there, it just exits out silently/immediately. But |
I'm currently having the same issue with a different package. npx install-peerdeps --dev eslint-config-wesbos With a Next.js project. Using the -Y flag worked. Thanks |
Thanks for the report.
The project pulls the desired package's package.json from the registry, and then installs the desired package + all the peer dependencies in one command. I'll add a note to the README to use the |
I had the same problem (while installing airbnb lint config) and this worked. |
I think the solution is to fix this inside the install-peerdeps lib rather than just adding a note to README. |
I think this should be fixed by #126. Please reopen with the command you ran and logs (if any) if this issue persists. |
$ npx install-peerdeps ookook
I created a create-react-app project and tried to use install-peerdeps to install another package, and its peers, to the CRA app.
npx create-react-app foo cd foo npx install-peerdeps ookook
I have peerdeps in that file.
What am I doing wrong? :\
Also, I've had problems with understanding how this project works exactly in the past. High level, how is it supposed to work? I would assume it would download a copy of
ookook
from npm, then look at the package.json of it for a peerDeps field, then loop over those deps runningnpm/yarn install/add dep
.The text was updated successfully, but these errors were encountered: