ds300 / react-native-typescript-transformer

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

Error transforming #22

Closed onselakin closed 7 years ago

onselakin commented 7 years ago

Hey ds300,

Suddenly I started getting the error below while working with Expo:

Error: Uncaught error in the transformer worker: /Users/onselakin/Development/frontend/node_modules/react-native-typescript-transformer
    at _transform.then.catch.error (/Users/onselakin/Development/frontend/node_modules/react-native/packager/src/JSTransformer/index.js:124:33)
    at process._tickCallback (internal/process/next_tick.js:103:7)

Any recommendations?

Thank you!

ds300 commented 7 years ago

If you can create a repo which reproduces the issue I'll take a look. On first inspection it seems like this is not an issue with react-native-typescript-transformer throwing errors, because transformers are synchronous and their thrown errors are normally reported correctly in the packager log.

onselakin commented 7 years ago

Thanks for the reply. Looks like Expo got an update recently. I got it to work after installing Typescript into local repo.