Comments (5)
Thanks for this issue. I'll look into it ASAP.
from install-peerdeps.
Same issue with NPM:
install-peerdeps tslint-language-service
Results in:
install-peerdeps v1.8.0
Installing peerdeps for tslint-language-service@latest.
npm install [email protected] typescript@>= 2.3.1 < 3 tslint@>= 4 < 6 --save
The system cannot find the file specified.
ERR The install process exited with error code 1.
It should instead run with quoted version range arguments:
npm install [email protected] typescript@">= 2.3.1 < 3" tslint@">= 4 < 6"
NOTE: spaces are optional between operators (">=") and versions ("2.3.1") but NOT between versions ("2.3.1") and operators ("<") which are used when specifying both a lower and upper-bound.
Easiest fix I can see would be testing for whitespace and quoting the version range if one exists.
from install-peerdeps.
I just noticed this pull #4 should this pull has fixed this issue?
from install-peerdeps.
@nandub I believe you are correct given this statement at the bottom of the PR:
This also works for ranges specified as >=1.2.7 <1.3.0.
from install-peerdeps.
This should be fixed in the latest release, v1.10.1. The current behavior is to read the range and install the later version if the range uses an inclusive comparator (e.g. <=), else install the earlier version.
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
- Support --ignore-scripts flag
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.