Troubleshoot
A guide to help you with common issues faced when working with Hanko Cloud
CORS error
CORS error
Console
Hanko Auth Component
CORS errors usually occur when the application URL hasn’t been correctly configured in Hanko Cloud. If you’re developing your project on localhost
, you’ll need to add a URL like http://localhost:3000
. For production, you’ll need to add the production URL. Please follow this guide for a seamless setup of Hanko Cloud.
404 (Not Found)
404 (Not Found)
Console
Hanko Auth Component
This error typically arises when the API URL
has been incorrectly configured. Depending on your framework, you may need to prefix your URLs with PUBLIC, NEXT_PUBLIC, or another specific prefix. This prefixing ensures that these environment variables are exposed to the browser and can be accessed by your frontend.
Here are some of the examples
'r' is read-only error when deploying a CRA
'r' is read-only error when deploying a CRA
You might get "r" is read-only
error after you deploy a CRA (Create React App). To fix it you’ll need to add @babel/core
as a dependency in your project. You can do this by running the following command:
My issue is not listed here
My issue is not listed here
Feel free to open a GitHub Issue or join our Discord Community. We’re here to help!