react 15.0.0
/~/react-ga/src/components/OutboundLink.js
Module not found: Error: Cannot resolve module 'react/lib/Object.assign' in
Is anyone working on this? I could submit a PR to change the dependency to use https://www.npmjs.com/package/object-assign, which is what React is using now.
Anyone waiting on this to be fixed, you can resolve the issue temporarily by adding this to the resolve.alias section of your webpack config (if you're using webpack):
resolve: {
alias: {
// temporary fix for missing require in `react-ga`
// cf. https://github.com/react-ga/react-ga/issues/53
'react/lib/Object.assign': 'object-assign',
},
},
For the future, stop using internal modules
Closed via https://github.com/react-ga/react-ga/pull/54
Most helpful comment
Anyone waiting on this to be fixed, you can resolve the issue temporarily by adding this to the
resolve.aliassection of your webpack config (if you're using webpack):