ds300/react-native-typescript-transformer

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

eassymo opened this issue · 2 comments

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

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

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 🙏