Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 安装react插件转换组时出现问题_Javascript_Node.js_Npm_Reactjs - Fatal编程技术网

Javascript 安装react插件转换组时出现问题

Javascript 安装react插件转换组时出现问题,javascript,node.js,npm,reactjs,Javascript,Node.js,Npm,Reactjs,我在使用npm安装“react插件转换组”时遇到问题。根据react网站: 这些插件也转移到了单独的包中:react插件使用道具克隆、react插件创建片段、react插件css转换组、react插件链接状态混合、react插件纯渲染混合、react插件浅层比较、react插件转换组和react插件更新,加上ReactDOM.unstable\u批处理在react dom中更新。- 我试过: npm install react-addons-transition-group npm instal

我在使用npm安装“react插件转换组”时遇到问题。根据react网站:

这些插件也转移到了单独的包中:react插件使用道具克隆、react插件创建片段、react插件css转换组、react插件链接状态混合、react插件纯渲染混合、react插件浅层比较、react插件转换组和react插件更新,加上ReactDOM.unstable\u批处理在react dom中更新。-

我试过:

npm install react-addons-transition-group
npm install react-addons-css-transition-group
但我得到了:

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.
我正在使用:

"react": "^0.14.0-rc1",
"react-dom": "0.14.0-rc1"
所以我不确定它为什么会抛出错误。0.14.0-rc1在兼容版本列表中

我的npm版本是2.11.3和节点0.12.7


你知道是什么原因造成的吗?

这个错误在
npm@2.13.1
。基本上,
semver@4.3.5
修复了一个bug,其中预发行版将满足
*
semver范围。当
npm@2.11.1
本次更新发布后,像
react addons transition group
这样的软件包由于某种原因只有预发布版本,不能再由
npm
安装,除非您明确告诉
npm
要安装的版本

问题追踪者票是。有更新
npm
的指南