Error - Docker
Hello, after deploying in docker, it is returning this error when accessing the login page.
Do you have any suggestions on how to resolve it?
7 Replies
Hey @pedrosilva8235 👋,
Do you see any errors in the console?
mute-goldOP•3y ago
Evaluating here, broke something in the packages, local now is not working either.
I'll make it run locally and upload it back to the image.
Before generating the first docker image, I used the useApiUrl method inside the authProvider class, which generated an error and did not help me with this problem
Could you share the error message?
mute-goldOP•3y ago
Sorry, I may have interpreted it incorrectly, I use google translator.
*I didn't realize that I had generated the problem with this change, I'll force it again and send
mute-goldOP•3y ago
mute-goldOP•3y ago
You are probably using hooks against the rules. Can you review this document?
https://reactjs.org/docs/hooks-rules.html
Rules of Hooks – React
A JavaScript library for building user interfaces