-
Notifications
You must be signed in to change notification settings - Fork 23
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
Breaking with latest react-native v0.43.3 #6
Comments
@philikon, @seanavery Did either of you get this working on 0.43.4? |
The answer appears to be suggested in this React-Native-transformer issue post (react-native-sm-transformer@Github). I Google searched:
The issue link and its mentioned post suggest:
As a disclaimer, I'm a React Native newbie (May 2017), my interest is using some Node libraries in a mobile app - I'm not sure I could, currently, help in repairing this issue, further than leaving these clues (apologies). |
Try these changes in transformer.js:
|
For clarity, is its that in addition to the current:
or does your /cc @GumboFroehn |
@sixman9 and others on this thread:
You don't need to do that switch statement there, I was trying to transform .css files with And babel-transformer exports:
|
I'm still running into issues with |
Ok I got it working on Also, if you run into problems with |
Please let me know if this works for any of you guys! @seanavery @sixman9 @GumboFroehn @philikon |
I try like your solution but it get error like this. |
Sorry...i forgot to Thank you bro. |
After making those changes, I get a syntax error, but I can't tell where it is! Is anyone else having this issue? Any advice on how to find it?
|
Hmm, @tslater Looks like a syntax error, expecting a comma somewhere. That stacktrace is not very helpful at all =( you might want to take your app back to before you added that code and give it another shot. Alternatively, did you try the .babelrc file I mentioned here? #4 (comment) |
Hi. I'm currently struggling to access crypto functionality in a React Native project. Is this library still incompatible with RN 0.50.X ?? Thanks for your time! |
@jjzazuet , for RN 0.50.X , you need modified https://github.com/wswoodruff/strangeluv-native/blob/fa6c260ef0b2f3ad4400c27d075649ecd9bb71b8/config/transformers.js from @wswoodruff above with: replace
to
|
Just had to do all this. For anyone with problems, just look at my file tree: https://github.com/lucaszanella/jscam/tree/ff5cd76caae3ff92a4a9d3d6ff585c6f1c0ca8d8/src/jscam Also would be good to update this info on this repo because react-native has changed a lot since then |
Using the latest react-native version, the custom transformer is not working: throwing an error
transformer.transform is not a function
.Everything works when reverting back to
0.42.0
The text was updated successfully, but these errors were encountered: