We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.6.3
os:macos react-native-cli: 2.0.1 react-native: 0.47.1 npm: 5.3.0 node: v8.3.0
https://mobile.ant.design
npm install antd-mobile --save 之后,启动项目报错,undefined is not an object(evaluating '_react2.default.PropTypes.object') 查找后发现是 antd-mobile 中使用了 react-native-camera-roll-picker ,而react-native-camera-roll-picker里的 ImageItem.js 中使用了 React.PropTypes.object,在新版中 React中,PropTypes 不包含在 React 中,需要单独安装 npm install prop-types --save 。而antd-mobile 中,不仅仅只有 react-native-camera-roll-picker 使用到了它 ,其他几个依赖的项也有使用到。希望官方尽快修复这个 issues。
npm install antd-mobile --save
undefined is not an object(evaluating '_react2.default.PropTypes.object')
react-native-camera-roll-picker
npm install antd-mobile 之后能直接使用,不用去修改里面的 React.PropTypes 为 import PropTypes fron 'prop-types'; PropTypes
import PropTypes fron 'prop-types';
抛异常 undefined is not an object(evaluating '_react2.default.PropTypes.object')
The text was updated successfully, but these errors were encountered:
@byk04712 wait jeanpan/react-native-camera-roll-picker@7baff02 to release
Sorry, something went wrong.
Merge pull request #48 from mayaa6/proptypes
7baff02
Migrating from React.PropTypes
f0484dc
chore: update rn-camera-roll-picker version, close #1707
e0ae763
chore: update rn-camera-roll-picker version, close ant-design#1707
deff8ef
No branches or pull requests
Version
1.6.3
Environment
os:macos react-native-cli: 2.0.1 react-native: 0.47.1 npm: 5.3.0 node: v8.3.0
Reproduction link
https://mobile.ant.design
Steps to reproduce
npm install antd-mobile --save
之后,启动项目报错,undefined is not an object(evaluating '_react2.default.PropTypes.object')
查找后发现是 antd-mobile 中使用了react-native-camera-roll-picker
,而react-native-camera-roll-picker
里的 ImageItem.js 中使用了 React.PropTypes.object,在新版中 React中,PropTypes 不包含在 React 中,需要单独安装 npm install prop-types --save 。而antd-mobile 中,不仅仅只有 react-native-camera-roll-picker 使用到了它 ,其他几个依赖的项也有使用到。希望官方尽快修复这个 issues。What is expected?
npm install antd-mobile 之后能直接使用,不用去修改里面的 React.PropTypes 为
import PropTypes fron 'prop-types';
PropTypesWhat is actually happening?
抛异常 undefined is not an object(evaluating '_react2.default.PropTypes.object')
The text was updated successfully, but these errors were encountered: