ds300 / react-native-typescript-transformer

Seamlessly use TypeScript with React Native
MIT License
657 stars 50 forks source link

Getting: bundling failed: TypeError: Cannot read property 'replace' of undefined #36

Closed eassymo closed 6 years ago

eassymo commented 6 years ago

I'm getting:

bundling failed: TypeError: Cannot read property 'replace' of undefined

when

Bundling index.js [development, non-minified] 0.0% (0/1), failed.

Enviroment:

"react": "16.0.0",
"react-native": "0.51.0",
"metro-bundler": "^0.22.1",
"react-native-typescript-transformer": "^1.1.4",
"typescript": "~2.3.4"
ds300 commented 6 years ago

Thanks for the report! There's not much info to go on here. react-native-typescript-transformer doesn't use a .replace method anywhere directly. Can you provide a repository which reproduces the issue, by any chance?

ds300 commented 6 years ago

I'm going to close this issue due to inactivity. If you're still having trouble with bundling, please feel free to open another issue and link to this one :pray: