Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version not working in react-native #5

Closed
chandu0101 opened this issue Dec 6, 2015 · 2 comments
Closed

New version not working in react-native #5

chandu0101 opened this issue Dec 6, 2015 · 2 comments

Comments

@chandu0101
Copy link
Contributor

Hi ,
I just upgraded reindex-js to 0.3.0 , i am getting following error while importing ..

TransformError: 
/node_modules/reindex-js/.babelrc.optional
See logs /var/folders/n0/c0fyqlqx0gg15mv4t5mchgj80000gn/T/react-packager.log
    at SocketClient._handleMessage (SocketClient.js:139:23)
    at BunserBuf.<anonymous> (SocketClient.js:53:42)
@fson
Copy link
Member

fson commented Dec 6, 2015

@chandu0101 Thanks for reporting.

The problem is with latest react-native and Babel 6, which tries to read the .babelrc file in the installed reindex-js package and fails because it's for Babel 5. (facebook/react-native#4062 has more info.)

As a fix I've added .babelrc to .npmignore so it doesn't get published to npm and released a new version v0.3.1 to npm with this fix. Please let me know if upgrading to v0.3.1 fixes the problem for you.

@fson fson closed this as completed Dec 6, 2015
@chandu0101
Copy link
Contributor Author

its working perfect thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants