Skip to content
New issue

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

Error: Cannot find module "react/addons" #27

Open
strarsis opened this issue Aug 17, 2017 · 1 comment
Open

Error: Cannot find module "react/addons" #27

strarsis opened this issue Aug 17, 2017 · 1 comment

Comments

@strarsis
Copy link

strarsis commented Aug 17, 2017

Trying to get the x_simple map demo running, I get this build error:

Error: Cannot find module "react/addons"
@anianroid
Copy link

Replace 'react/addons' with 'react'
and import PropTypes seperately from 'prop-types' npm. It has been moved off react since 15.x

ref. https://reactjs.org/docs/typechecking-with-proptypes.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants