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

All docs show an error #1842

Closed
djmitche opened this issue Oct 31, 2019 · 26 comments · Fixed by #1863
Closed

All docs show an error #1842

djmitche opened this issue Oct 31, 2019 · 26 comments · Fixed by #1863
Assignees
Labels
bug Something isn't working

Comments

@djmitche
Copy link
Collaborator

Describe the bug
API reference pages are showing an error message, and no references.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://docs.taskcluster.net/docs/reference/platform/queue/api
  2. See error: Unexpected token (6:14)

Expected behavior

Screenshots

image

Additional context
This error appears to be "sticky" -- any other docs pages will also fail to render after seeing this error.

The bug has been introduced since v21.2.0, as that version renders the documentation correctly.

@djmitche djmitche added the bug Something isn't working label Oct 31, 2019
@vishakhanihore
Copy link
Contributor

Looking into it

@vishakhanihore
Copy link
Contributor

@djmitche Nice to note things is that, if one page breaks, all the other pages breaks too !

@naima-shk
Copy link
Contributor

naima-shk commented Oct 31, 2019

@djmitche I m looking into it .It seem's interesting .Can you please assign me this one ? :)

@djmitche
Copy link
Collaborator Author

@naima-shaikh I can, but we do need this fixed soon -- we need to make another release of TC, with this fixed. If you can fix it in, say, the next 24 hours that would be great..

@djmitche
Copy link
Collaborator Author

(if not, that's fine to, just let us know)

@naima-shk
Copy link
Contributor

@djmitche thanks for assigning it to me . I will try to fix it within 24 hours :)

@vishakhanihore
Copy link
Contributor

vishakhanihore commented Oct 31, 2019 via email

@helfi92
Copy link
Contributor

helfi92 commented Oct 31, 2019

Note that there is already an issue and a pull-request open to fix the error panel positioning. #1660

@vishakhanihore
Copy link
Contributor

vishakhanihore commented Oct 31, 2019 via email

@naima-shk
Copy link
Contributor

@djmitche @vishakhanihore
I can't seem to reproduce this issue running locally http://localhost:5080/docs/reference/platform/auth/api shows no error panel. Is this issue only occuring in production and if so how can I point to production stack locally?

@helfi92
Copy link
Contributor

helfi92 commented Oct 31, 2019

Did you pull the latest changes from master?

@naima-shk
Copy link
Contributor

@helfi92 Sorry . i m doing it now :)

@vishakhanihore
Copy link
Contributor

@naima-shaikh Any Progress ?

@naima-shk
Copy link
Contributor

naima-shk commented Nov 1, 2019

@vishakhanihore I think this issue is already fixed by @djmitche

@vishakhanihore
Copy link
Contributor

vishakhanihore commented Nov 1, 2019 via email

@djmitche
Copy link
Collaborator Author

djmitche commented Nov 1, 2019

Sorry, I fixed a different bug in #1849 and pinged @naima-shaikh. That was my fault. It's not fixed.

@naima-shk
Copy link
Contributor

@djmitche Alright thanks for informing :) .let me look into it again .

@vishakhanihore
Copy link
Contributor

vishakhanihore commented Nov 1, 2019 via email

@helfi92
Copy link
Contributor

helfi92 commented Nov 1, 2019

905228f seems to be the culprit.

@vishakhanihore
Copy link
Contributor

vishakhanihore commented Nov 1, 2019 via email

@helfi92
Copy link
Contributor

helfi92 commented Nov 1, 2019

@vishakhanihore Which 4 lines?

@vishakhanihore
Copy link
Contributor

vishakhanihore commented Nov 1, 2019 via email

@helfi92
Copy link
Contributor

helfi92 commented Nov 1, 2019

The place where its showing unexpected token error line 6-10?

I'm not sure where which line 6-10 that is. I will file an issue soon to have the UI migrated to eslint v6.

@djmitche
Copy link
Collaborator Author

djmitche commented Nov 1, 2019

I'm super-confused how eslint -- which is a devDependency -- could cause a failure at runtime.

@helfi92
Copy link
Contributor

helfi92 commented Nov 1, 2019

@djmitche
Copy link
Collaborator Author

djmitche commented Nov 1, 2019

:boggle:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants