Closed xe4me closed 6 years ago
I have the same issue. Any updates on this?
I needed to create a file rn-cli.config.js
as explained here: https://github.com/Microsoft/TypeScript-React-Native-Starter#adding-typescript
module.exports = {
getTransformModulePath() {
return require.resolve("react-native-typescript-transformer");
},
getSourceExts() {
return ["ts", "tsx"];
}
};
ah we should be able to automate that file creation in the eject script if someone wants to create a PR
yarn eject
breaks the app : .I followed the steps, exactly as provided in the docs. It was working with expo, but right after I did
yarn eject
, it throw bellow errornpm ls react-native-scripts-ts
:react-native-scripts-ts@1.13.0npm ls react-native
: react-native@0.54.0npm ls expo
:emptynode -v
:v9.2.1npm -v
:5.6.0yarn --version
:v1.2.1watchman version
:4.9.0