You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I deployed Tornjak backend in a local Kind cluster and the Tornjak manager backend is running locally at port 50000
Then I ran:
cd frontend
REACT_APP_API_SERVER_URI=http://localhost:50000/ REACT_APP_TORNJAK_MANAGER=true npm start
To start the frontend with the manager UI.
Error
The UI mostly works, but each time a new page is loaded, I receive this exitable error:
Uncaught runtime errors:
ERROR
error.response is undefined
./src/components/tornjak-api-helpers.tsx/TornjakApi/this.populateLocalTornjakServerInfo/<@http://localhost:3000/static/js/bundle.js:11482:28
Once I X out of this error, the UI works as normal.
Additional Notes:
I also notice the following warnings in the logs:
Compiled with warnings.
[eslint]
src/tables/clusters-list-table.tsx
Line 4:8: 'GetApiServerUri' is defined but never used @typescript-eslint/no-unused-vars
Line 5:8: 'axios' is defined but never used @typescript-eslint/no-unused-vars
Line 13:10: 'showResponseToast' is defined but never used @typescript-eslint/no-unused-vars
src/tables/entries-list-table.tsx
Line 3:8: 'GetApiServerUri' is defined but never used @typescript-eslint/no-unused-vars
Line 5:8: 'axios' is defined but never used @typescript-eslint/no-unused-vars
Line 14:10: 'showResponseToast' is defined but never used @typescript-eslint/no-unused-vars
Line 15:8: 'apiEndpoints' is defined but never used @typescript-eslint/no-unused-vars
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
WARNING in [eslint]
src/tables/clusters-list-table.tsx
Line 4:8: 'GetApiServerUri' is defined but never used @typescript-eslint/no-unused-vars
Line 5:8: 'axios' is defined but never used @typescript-eslint/no-unused-vars
Line 13:10: 'showResponseToast' is defined but never used @typescript-eslint/no-unused-vars
src/tables/entries-list-table.tsx
Line 3:8: 'GetApiServerUri' is defined but never used @typescript-eslint/no-unused-vars
Line 5:8: 'axios' is defined but never used @typescript-eslint/no-unused-vars
Line 14:10: 'showResponseToast' is defined but never used @typescript-eslint/no-unused-vars
Line 15:8: 'apiEndpoints' is defined but never used @typescript-eslint/no-unused-vars
webpack compiled with 1 warning
The text was updated successfully, but these errors were encountered:
Environment:
I deployed Tornjak backend in a local Kind cluster and the Tornjak manager backend is running locally at port 50000
Then I ran:
To start the frontend with the manager UI.
Error
The UI mostly works, but each time a new page is loaded, I receive this exitable error:
Once I X out of this error, the UI works as normal.
Additional Notes:
I also notice the following warnings in the logs:
The text was updated successfully, but these errors were encountered: