-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Uncaught Error: Cannot find module "net", "fs", "tls" #337
Comments
This sounds like you're trying to require a module meant to be used only on the server in your client code. Are you trying to access MySQL from your browser code? |
This is a client side app setup. |
How to fix this? |
It should already work. If it doesn't file a new bug report. Cheers! |
it still not work for me. |
@naliga24 you should not require mysql in create-react-app because it is for client side. |
thank you.
2018-06-30 22:59 GMT+07:00 Jack Zhao <notifications@github.com>:
… @naliga24 <https://github.com/naliga24> you should not require mysql in
create-react-app because it is for client side.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#337 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AmnxNqn7mlpsPX3oNqVeGM2Fhv8dzhVXks5uB6BNgaJpZM4JbMEx>
.
|
Uncaught Error: Cannot find module "net", "fs", "tls" when i require 'mysql'
The text was updated successfully, but these errors were encountered: