Closed spikebrehm closed 7 years ago
I haven't tried out the react-native project much at all, but I was able to at least get past your issue by first going to the root of the project, then running
npm run lerna bootstrap
(You can run lerna bootstrap
as well, given that you have it installed and on the right version).
Let me know if that helps!
Thanks for the reply. I tried running:
npm run lerna bootstrap
But lerna
is not a script listed in package.json
, so I got an error. So instead, I ran:
./node_modules/.bin/lerna bootstrap
Which did not fix the issue. I had done this initially before, as well.
Oh, the issue was that happo-target-react-native
had never been built with Babel, so the lib/index.js
file, which was the main
in package.json
, did not exist. Running
npm run build:server
from happo-target-react-native
fixed it 👍.
Glad you got it sorted!
I'm unable to run
happo-example-react-native-project
, which is blocking me from iterating onhappo-target-react-native
. When I runI get:
which is confusing because I do see
happo-target-react-native
innode_modules
:If I change the require statement to require
../happo-target-react-native
:I get the same error:
Any tips? Could this be related to the Lerna setup?