admin管理员组文章数量:1403443
I am having trouble installing the "react-addons-transition-group" using npm. According to the react website:
The addons have moved to separate packages as well: react-addons-clone-with-props, react-addons-create-fragment, react-addons-css-transition-group, react-addons-linked-state-mixin, react-addons-pure-render-mixin, react-addons-shallow-pare, react-addons-transition-group, and react-addons-update, plus ReactDOM.unstable_batchedUpdates in react-dom. - .14-beta-1.html
I have tried:
npm install react-addons-transition-group
npm install react-addons-css-transition-group
but I'm getting:
npm ERR! notarget No patible 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 am using:
"react": "^0.14.0-rc1",
"react-dom": "0.14.0-rc1"
so I am not sure why it is throwing the error. 0.14.0-rc1 is on the list of patible versions.
My npm version is 2.11.3 and node 0.12.7
Any idea what could be causing this?
I am having trouble installing the "react-addons-transition-group" using npm. According to the react website:
The addons have moved to separate packages as well: react-addons-clone-with-props, react-addons-create-fragment, react-addons-css-transition-group, react-addons-linked-state-mixin, react-addons-pure-render-mixin, react-addons-shallow-pare, react-addons-transition-group, and react-addons-update, plus ReactDOM.unstable_batchedUpdates in react-dom. - https://facebook.github.io/react/blog/2015/07/03/react-v0.14-beta-1.html
I have tried:
npm install react-addons-transition-group
npm install react-addons-css-transition-group
but I'm getting:
npm ERR! notarget No patible 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 am using:
"react": "^0.14.0-rc1",
"react-dom": "0.14.0-rc1"
so I am not sure why it is throwing the error. 0.14.0-rc1 is on the list of patible versions.
My npm version is 2.11.3 and node 0.12.7
Any idea what could be causing this?
Share Improve this question edited Sep 13, 2015 at 8:25 hilarl asked Sep 13, 2015 at 8:18 hilarlhilarl 6,88013 gold badges51 silver badges58 bronze badges1 Answer
Reset to default 6This bug was fixed in [email protected]
. Basically, [email protected]
fixed a bug wherein pre-releases would satisfy the *
semver range. When [email protected]
came out with this update, packages like react-addons-transition-group
, which only have pre-releases for some reason, could no longer be installed by npm
unless you explicitly told npm
what version to install.
Issue tracker ticket is npm/npm#8855. A guide for updating npm
is available here.
本文标签: javascriptTrouble installing reactaddonstransitiongroupStack Overflow
版权声明:本文标题:javascript - Trouble installing react-addons-transition-group - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744402443a2604532.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论