This doesn't seem to work with RN 0.54
wynch opened this issue · 4 comments
When starting Metro, I get a Cannot find module 'metro/src/transformer'
error.
It should also work with RN 0.54, it's being used it in the React Native TypeScript template.
If you want to see how it's configured, just run this in your terminal:
react-native init MyApp --template typescript
cd MyApp
node setup.js
Hi! I'm going to close this, since there doesn't seem to be any activity and I can't reproduce the problem. Let me know if it's still an issue for you!
Sorry for not coming back sooner on this !
I did try the Rect Native Typescript template, and managed to make it work.
In the end, I think it was related to my package.json and package-lock.json being out of sync : I deleted the lock file and did an npm install
again, it worked !
Thanks !
In my case I had to run npm dedupe
to pull it out of /node_modules/react-native/node_modules/