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

Trying to use in react-native project / busting project #34

Open
eugeneedwardkim opened this issue Dec 15, 2017 · 3 comments
Open

Trying to use in react-native project / busting project #34

eugeneedwardkim opened this issue Dec 15, 2017 · 3 comments

Comments

@eugeneedwardkim
Copy link

eugeneedwardkim commented Dec 15, 2017

Hey, every time I attempt to require mfp in my project, I run into the issue shared here on the screen shot. I'm not entirely sure what I can do to use this API, but please let me know if you've had any luck with any other react-native projects.
screen shot 2017-12-14 at 11 09 13 pm

Adding an update:
Determined that node's built in crypto doesn't jive that well with React-Native. Gave react-native-crypto a try but am now running into a new issue: Error: EISDIR: illegal operation on a directory

I am seeing what I can do to fix.

@eugeneedwardkim
Copy link
Author

Did a little more digging and it's looking like Crypto is a deprecated package being called in request. It's saying I should use the built in node module, but I have no idea what the heck that is...

@andrewzey
Copy link
Collaborator

hmm, this project is due for a full re-write, but to answer your last question, crypto is a built-in package in node that can be required or imported: https://nodejs.org/api/crypto.html

@eugeneedwardkim
Copy link
Author

eugeneedwardkim commented Dec 17, 2017 via email

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