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?
![No description](https://cdn.answeroverflow.com/1034150298048008253/unknown.png)
7 Replies
Hey @pedrosilva8235 👋,
Do you see any errors in the console?
optimistic-gold•2y 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?
optimistic-gold•2y 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
optimistic-gold•2y ago
![No description](https://cdn.answeroverflow.com/1034181357154353273/unknown.png)
optimistic-gold•2y ago
![No description](https://cdn.answeroverflow.com/1034181412129099796/unknown.png)
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