Troubleshoot using add-addons-transition-group

I had a problem with installing "reaction-addons-transition-group" using npm. According to the response website:

Add-ons also moved to separate packages: reaction-add-on-cloned-details, add-on-add-create-fragment, reaction-add-on-css-transition-group, reaction-add-ons-related-state-mixin, reaction-add-ons-pure-render -mixin, reactions-addons-shallow-compare, reactions-addons-transition-group and update-additions-additions, as well as ReactDOM.unstable_batchedUpdates in the reaction. - https://facebook.imtqy.com/react/blog/2015/07/03/react-v0.14-beta-1.html

I tried:

npm install react-addons-transition-group npm install react-addons-css-transition-group 

but I get:

 npm ERR! notarget No compatible version found: react-addons-transition-group@ '*' npm ERR! notarget Valid install targets: npm ERR! notarget ["0.14.0-beta1","0.14.0-beta2","0.14.0-beta3","0.14.0-rc1"] npm ERR! notarget npm ERR! notarget This is most likely not a problem with npm itself. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. 

I use:

 "react": "^0.14.0-rc1", "react-dom": "0.14.0-rc1" 

so I'm not sure why he is throwing an error. 0.14.0-rc1 is in the list of compatible versions.

My version for npm is 2.11.3 and node 0.12.7

Any idea what could be causing this?

+5
source share
1 answer

This bug has been fixed in npm@2.13.1 . Basically, semver@4.3.5 fixed a bug in which pre-releases met the semver * range. When npm@2.11.1 came out with this update, packages such as react-addons-transition-group , which for some reason only have pre-releases, can no longer be installed by npm unless you explicitly told npm which version to install .

Npm / npm # 8855 Issue Tracking Ticket. The npm update guide is available here .

+6
source

All Articles