-
Notifications
You must be signed in to change notification settings - Fork 100
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
Missing "babylon" and other dependencies? #24
Comments
Same issue here, same exact setup. Will continue digging and report back if I find anything. EDIT: Try changing
|
@slhck @Raymond-Cox any solution to this? |
add babylon and babel-traverse as dev dependencies. |
@mrcarjul After adding the dependencies, the above error is solved!! But i get this:
Any solution to this? |
What happened when you changed metro.config.js file to what I suggested? |
module.exports = obfuscatingTransformer({ |
@Raymond-Cox with your solution error is gone but nothing happened to source code it's not encrypted. |
I think the contributors of this library must have a re iterate over how metro bundler work in react native >= 0.60 |
+1 |
Solved: |
@AustinZuniga tnx that solved the problem |
@razorabhu1995 Did you manage to resolve this issue? I too am getting the error |
@razorabhu1995 so the fix for this has actually already been merged into master, however it has not been deployed to |
yarn add babylon -dev |
I am using this in a RN 0.61.5 project, and I've installed the project with:
When running
npx react-native start
, I get this error:After running
npm i babylon --save-dev
, I get:My
transformer.js
is:And my Metro Config:
I see that Babylon is part of the dependencies: https://github.com/javascript-obfuscator/react-native-obfuscating-transformer/blob/master/package.json#L14 – but then again, there seem to be duplicates?
The text was updated successfully, but these errors were encountered: