Closed joemckie closed 7 years ago
Yes, that should be a very simple fix!
@RealOrangeOne I'm taking a look into a PR now. Is there a reason why the versions are explicitly required using =
rather than ^
?
for devDependancies yes, it allows for more reproducable tests. For the main dependancies no, Think I messed up a find/replace
I'd recommend using Jest for testing React Native instead. That's what we use at FB, and we maintain it.
(Never mind my comment, wrong thread)
The same error:
Error: Cannot find module 'react/lib/ReactPerf'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/richardcao/workspace/reading/node_modules/react-addons-perf/index.js:1:18)
@Richard-Cao check out the PR (#114). Looks like RN has a stable 0.38.0 release now so we can try and get this fixed!
Your dependency on
react-addons-perf
is breaking with React 15.4.0.Can this be updated?