Giter VIP home page Giter VIP logo

Comments (7)

AllanFerencz avatar AllanFerencz commented on September 25, 2024 3

I'm currently having the same issue with a different package.

npx install-peerdeps --dev eslint-config-wesbos

With a Next.js project.
I'm going to try passing the Y flag.

Using the -Y flag worked. Thanks

from install-peerdeps.

corysimmons avatar corysimmons commented on September 25, 2024 2

Seems to be related to It seems as if you are using Yarn. Would you like to use Yarn for the installation? (y/n) y

If I enter anything there, it just exits out silently/immediately. But npx install-peerdeps ookook -Y works as expected.

from install-peerdeps.

nathanhleung avatar nathanhleung commented on September 25, 2024 1

I think this should be fixed by #126. Please reopen with the command you ran and logs (if any) if this issue persists.

from install-peerdeps.

corysimmons avatar corysimmons commented on September 25, 2024

Huh. Works as expected without CRA...

Guess I should rename this issue.

from install-peerdeps.

nathanhleung avatar nathanhleung commented on September 25, 2024

Thanks for the report.

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 running npm/yarn install/add dep.

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 -Y flag with create-react-app.

from install-peerdeps.

vhakulinen avatar vhakulinen commented on September 25, 2024

If I enter anything there, it just exits out silently/immediately. But npx install-peerdeps ookook -Y works as expected.

I had the same problem (while installing airbnb lint config) and this worked.

from install-peerdeps.

corysimmons avatar corysimmons commented on September 25, 2024

I think the solution is to fix this inside the install-peerdeps lib rather than just adding a note to README.

from install-peerdeps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.