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

Errors w/ fresh install post-React 0.15.4 #1059

Closed
brandonmp opened this issue Nov 17, 2016 · 2 comments
Closed

Errors w/ fresh install post-React 0.15.4 #1059

brandonmp opened this issue Nov 17, 2016 · 2 comments

Comments

@brandonmp
Copy link

brandonmp commented Nov 17, 2016

React 0.15.4 was released today, and there are breaking changes for code that accesses non-public APIs in React:

However, there is a possibility that you imported private APIs from react/lib/*, or that a package you rely on might use them.
Release announcement for 0.15.4

After installing grommet for the first time, running npm install, and running gulp dev, I'm thrown this:

ERROR in ./src/js/index.js
Module not found: Error: Cannot resolve module 'react/lib/ReactMount' in /home/bmp/code/wayhome/agent-app/src/js
 @ ./src/js/index.js 1:298-329

ERROR in ./src/js/components/TodoAppDashboard.js
Module not found: Error: Cannot resolve module 'react/lib/ReactMount' in /home/bmp/code/wayhome/agent-app/src/js/components
 @ ./src/js/components/TodoAppDashboard.js 1:298-329
webpack: bundle is now VALID.
@alansouzati
Copy link
Collaborator

alansouzati commented Nov 17, 2016

facebook/react#8312

I'm going to update grommet-toolbox to use react hot loader version 3+

For now please add the following to your package.json:

  dependencies: {
    "react": "15.3.2",
    "react-addons-transition-group": "15.3.2",
    "react-dom": "15.3.2"
  }

Just make sure to update your node modules after that

@alansouzati
Copy link
Collaborator

Fixed with the latest latest version of toolbox.

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