Giter Site home page Giter Site logo

Comments (4)

kirjs avatar kirjs commented on May 20, 2024

It seems to work fine for me.
What's in your package.json?

$ npm init -y
$ npm i -d [email protected] 
$ npm i -d react-highcharts
...
[email protected] node_modules/react-highcharts
npm info ok 

from react-highcharts.

fr101ed avatar fr101ed commented on May 20, 2024

I tried what you said. But in fact, it did not act correctly.

$ npm init -y
$ npm i -d [email protected]
...
npm info ok

Until now, there is no problem. But,

$ npm i -d react-highcharts
...
npm info install [email protected]
npm info postinstall [email protected]
npm info attempt registry request try #1 at 10:24:51
npm http request GET https://registry.npmjs.org/react
npm http 304 https://registry.npmjs.org/react
npm info install [email protected] into /Users/fred/Work/Projects/testnpm
npm info installOne [email protected]
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm info postuninstall [email protected]
npm info preinstall [email protected]
...
npm info ok

It seems that react-highcharts uninstall [email protected] and install [email protected]. This is not what we want, right?

And if you try this script below, it will throw error directly.

npm install [email protected] --save
npm install react-highcharts --save
...
npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@*

from react-highcharts.

kirjs avatar kirjs commented on May 20, 2024

I was able to reproduce it, seems like semver doesn't handle the rc part correctly.

I'll try to look at it over the weekend, but I'm open to suggestions on how that could be fixed.

from react-highcharts.

kirjs avatar kirjs commented on May 20, 2024

rc is not a thing anymore, and [email protected] is supported. closing the issue

from react-highcharts.

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.