Skip to content
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

problem configuring NB_API_query #216

Open
thomasbeaudry opened this issue Jul 17, 2024 · 1 comment
Open

problem configuring NB_API_query #216

thomasbeaudry opened this issue Jul 17, 2024 · 1 comment
Assignees

Comments

@thomasbeaudry
Copy link

I'm trying to set up neurobagel properly by changing my .env from:
NB_API_QUERY_URL=http://localhost:8080/
to:
NB_API_QUERY_URL=http://neurobagel.douglas.rtss.qc.ca/

Afterwards when I visit the URL in the front end I get:
image

with the error:

Unexpected Application Error!
Cannot read properties of undefined (reading 'localeCompare')
TypeError: Cannot read properties of undefined (reading 'localeCompare')
    at http://neurobagel.douglas.rtss.qc.ca/assets/index-36C-yl6m.js:192:15237
    at Array.sort (<anonymous>)
    at ci (http://neurobagel.douglas.rtss.qc.ca/assets/index-36C-yl6m.js:192:15217)
    at Wp (http://neurobagel.douglas.rtss.qc.ca/assets/index-36C-yl6m.js:38:19519)
    at wf (http://neurobagel.douglas.rtss.qc.ca/assets/index-36C-yl6m.js:40:3139)
    at R1 (http://neurobagel.douglas.rtss.qc.ca/assets/index-36C-yl6m.js:40:44804)
    at w1 (http://neurobagel.douglas.rtss.qc.ca/assets/index-36C-yl6m.js:40:39766)
    at fw (http://neurobagel.douglas.rtss.qc.ca/assets/index-36C-yl6m.js:40:39694)
    at cu (http://neurobagel.douglas.rtss.qc.ca/assets/index-36C-yl6m.js:40:39547)
    at Lf (http://neurobagel.douglas.rtss.qc.ca/assets/index-36C-yl6m.js:40:35914)

Those are the errors in red i see when i use:  NB_API_QUERY_URL=http://localhost:8080/](http://localhost:8080/

Please let me know what else you need to debug this.  thanks!
@alyssadai alyssadai transferred this issue from neurobagel/documentation Jul 18, 2024
@rmanaem rmanaem self-assigned this Jul 22, 2024
@rmanaem
Copy link
Contributor

rmanaem commented Jul 29, 2024

Related issues to address the cause of this issue:
Query tool: #223, #226
API: neurobagel/api#327,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Implement - Track
Development

No branches or pull requests

2 participants