Comments (7)
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.
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.
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.
Huh. Works as expected without CRA...
Guess I should rename this issue.
from install-peerdeps.
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 runningnpm/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.
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.
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)
- 'request' package needs to be replaced
- ERR spawn npm ENOENT HOT 21
- Fix issue with `child_process.spawn` on Windows
- Move tests to GitHub Actions, add Windows Tests HOT 11
- `ERR undefined` with v3.0.1 when running on Windows 10 HOT 5
- Feature request: Install from package.json
- Do we have the actual source code for this tool? HOT 3
- Cannot read property 'forEach' of undefined HOT 8
- should not error when there are no peer dependencies; just quietly install the package and move on HOT 3
- ERR: undefined when installing eslint-config-airbnb HOT 7
- --no-registry flag does not work HOT 2
- ERR Unexpected end of JSON input HOT 6
- `@babel/polyfill` warning HOT 3
- Install peer deps using absolute url
- `ERR undefined` with v3.0.3 install-peerdeps HOT 4
- Feature Request: Add ability to ignore some peerDependencies HOT 4
- load package version failure when using yarn@3
- --no-registry not work HOT 1
- install-peerdeps `ERR undefined` on windows HOT 6
- Installing with Yarn via `yarn dlx` or `npx` ends in success with no package.json updates or changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from install-peerdeps.