Skip to content

Conversation

mitermayer
Copy link
Contributor

When I do a:

var Resizable = require('react-resizable');

I get:

Error: Cannot find module 'react-dom'

react-resizable has been installed via npm install react-resizable --save

- If tryign to required this component without having react-dom it will error
@STRML
Copy link
Collaborator

STRML commented Jan 15, 2016

Thanks!

STRML added a commit that referenced this pull request Jan 15, 2016
Moving react-dom from devDependency to dependency
@STRML STRML merged commit f1ed9a2 into react-grid-layout:master Jan 15, 2016
@mitermayer mitermayer deleted the adding-missing-dependency branch January 19, 2016 00:09
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

Successfully merging this pull request may close these issues.

2 participants