You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first error you have seems to be a React Native upgrade issue as reported here: facebook/react-native#13758
Some things you can try:
wipe out and reinstall your node_modules
clear watchman cache: watchman watch-del-all
restart your packager server w/ reset-cache option:npm start -- --reset-cache
As for your second issue, React/React Native deprecated ReactPropTypes and instead uses the prop-types npm module.
make sure you have the prop-types module/directory in your node_modules, if not, try reinstall node_modules with npm install (prop-types is a dependency of RN 47.2).
replace var PropTypes = require('react/lib/ReactPropTypes'); with import PropTypes from 'prop-types';
Hi, I've seen that you updated your project.
I have couple of problems while launching my project such as "No dimension set for key window"
I don't know what's happening .
And another previous one which said :
var PropTypes = require('react/lib/ReactPropTypes');
Any help would be great.
Thanks
Michael
The text was updated successfully, but these errors were encountered: