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

Closed
thomasbeaudry opened this issue Jul 17, 2024 · 2 comments
Closed

problem configuring NB_API_query #216

thomasbeaudry opened this issue Jul 17, 2024 · 2 comments
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
@alyssadai alyssadai moved this to Backlog in Neurobagel Jul 18, 2024
@rmanaem rmanaem moved this from Backlog to Implement - Active in Neurobagel Jul 22, 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,

@alyssadai alyssadai moved this from Implement - Active to Implement - Track in Neurobagel Jul 30, 2024
@surchs
Copy link
Contributor

surchs commented Sep 17, 2024

Thanks @thomasbeaudry for the report. I see you have successfully deployed a FRQS node so I'll close this issue.

@surchs surchs closed this as completed Sep 17, 2024
@github-project-automation github-project-automation bot moved this from Implement - Track to Review - Done in Neurobagel Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants