TransformError on React Native
deguchi opened this issue · comments
deguchi commented
Hello, Thank you for nice library.
I met TransformError on React Native.
Environment:
Mac OSX 10.12.4
node v7.7.1
React Native 0.43
https://facebook.github.io/react-native/docs/getting-started.html
import Mastodon from 'mastodon-api'
I tried to use Babel Latest preset and set "latest" to .babelrc.
but Error Message not changed.
https://babeljs.io/docs/plugins/preset-latest/
Please tell me any solution?
Thanks!
vanita5 commented
Thanks for your report.
I forgot to add my .babelrc to .npmignore. This should fix the error.