According to the docs for react-codemod, React > 0.13.x should include React.addons.shallowCompare (which is used by the PureRenderMixin transformation) - but when installing react from npm this is not the case. In the locally installed react node module lib/ReactWithAddons is missing this line. Is the npm package not up to date, or what else is wrong here?
If it matters:
react: 0.13.3
npm: 2.12.1
OSX
(I know this error will go away with 0.14.x, but we can't really upgrade to that while it's in beta..