geomicons-open | Open Source Icons for the Web | Icon library
kandi X-RAY | geomicons-open Summary
kandi X-RAY | geomicons-open Summary
Hand-Coded Open Source Icons for the Web.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of geomicons-open
geomicons-open Key Features
geomicons-open Examples and Code Snippets
Community Discussions
Trending Discussions on geomicons-open
QUESTION
If I use the package.json
given below to execute npm install
then that will install react-15.4.2
(see npm ls
below) even though I specified version 15.3.2
.
How is this possible ?
Why is this happening?
How can I avoid this ?
content of package.json
:
ANSWER
Answered 2017-Feb-26 at 21:05Since you gave "react" a caret sign "react": "^15.3.2"
it will always fetch the latest version which is less than 16.0.0.
To get the exact version of react remove the caret before the version "react": "15.3.2"
.
But by doing so you have to manually check/change the version dependencies for other dependencies which use react. Since they might be incompatible with the version of react you specify.
For official docs refer https://docs.npmjs.com/misc/semver#caret-ranges-123-025-004.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install geomicons-open
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page