-
Notifications
You must be signed in to change notification settings - Fork 9
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
Installed but can't open the analytics #19
Comments
hi @kevin25 - thanks for raising the issue. Unfortunately, the error log is not showing anything useful, so we to dig into it to find the root cause. Also could you please take a look at your backend logs? Maybe there we will find something useful. |
hi @kevin25 - any news in this topic? |
I have the same issue, so can provide additional context (or try to). The back-end logs aren't showing any errors. The only item I assume relates, is "[10/Sep/2024:02:16:06 +0000] "GET /admin/analytics-configs HTTP/1.1" 304", but it's successful from the looks of it. The front-end is pretty useless, it's only giving the React #130: I'm using
If there's anything additional I can do for you to help investigate this - let me know |
hi @jaylinsell - thank you for your proposal. Indeed, I would need some additional help. Additionally, could you please open network tab before clicking |
thank you @jaylinsell . I copied dependencies which you put and tried locally on my side, but unfortunately I cannot reproduce it.. Let me think about it what we can do more - this error is really hard to catch. |
hi @jaylinsell - I have published 0.14.2 version - it is "blind shot", maybe it will fix the issue, maybe not.. Please kindly check. |
Thanks @radoslaw-sz . Unfortunately still a no-go for some odd reason. |
hi @jaylinsell - thank you so much for your activity, I really want to fix this issue, but debugging of it from my side is nearly impossible :( |
@radoslaw-sz Circling back... I've found where the error is coming from, but I'm a little stuck progressing beyond or understanding why. I essentially brought over the raw src files into medusa directly instead of importing your package to try debug this. When accessing the analytics page, the As this is returning a 404, the Does this give you any additional guidance on how to fix the issue? (Image is with the |
hi @jaylinsell - this is great analysis! I see there are two things which are really weird
if (isError) {
const trueError = error as any;
const errorText = `Error when loading data. It shouldn't have happened - please raise an issue. For developer: ${trueError?.response?.data?.message}`
return <Alert variant="error">{errorText}</Alert>
} Based on above, you as mentioned in 1) you can try to make : if (isError) {
console.log(error) // HERE
const trueError = error as any;
const errorText = `Error when loading data. It shouldn't have happened - please raise an issue. For developer: ${trueError?.response?.data?.message}`
return <Alert variant="error">{errorText}</Alert>
} and maybe something useful will be there. |
No problem @radoslaw-sz. The console logs are what lead me to there.
|
hi @jaylinsell - thank you for your insights. One thing I have noticed which looks weird - the link which you pasted - there is a Another testing which you can make is something like this - you can choose one route e.g. export const AUTHENTICATE = false Finally, after starting Medusa, you can try to paste above URL |
I got these error and I can't open it
The text was updated successfully, but these errors were encountered: