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
I have installed react-dc in my project that uses
"react": "^16.2.0",
"react-dc": "^1.0.6",
"react-dom": "^16.2.0"
It throws error "TypeError: Cannot convert null or undefined to object" in ./node_modules/react-dc/dist/module/mixins/color-mixin.js at the following location:
The React.PropTypes has been removed see the React website
React.PropTypes has moved into a different package since React v15.5. Please use the prop-types library instead.
So the mixins throw errors . You could use a earlier version.
But I'd like to contribute to this library as dc.js is great.
@kuul13 You should be able to work around your issue temporarily by updating npm to the latest version. Looks like yours can't handle multiple versions of a dependency yet – I have npm 6.0.1 on macOS and projects with dependencies like yours do compile. Using 5.x, it won't.
I have installed react-dc in my project that uses
"react": "^16.2.0",
"react-dc": "^1.0.6",
"react-dom": "^16.2.0"
It throws error "TypeError: Cannot convert null or undefined to object" in ./node_modules/react-dc/dist/module/mixins/color-mixin.js at the following location:
Can the dependencies be updated to the latest?
The text was updated successfully, but these errors were encountered: