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

Reference Error: Document is not defined #1872

Closed
json0007 opened this issue Jan 25, 2022 · 8 comments · Fixed by #1874
Closed

Reference Error: Document is not defined #1872

json0007 opened this issue Jan 25, 2022 · 8 comments · Fixed by #1874

Comments

@json0007
Copy link

json0007 commented Jan 25, 2022

Ya'll broke somethin in the recent release 13.4. I can not run any commands. Any reference to the package 'redoc-cli' returns the following error. Even 'redoc-cl --help' fails. It is completely broken.

ReferenceError: document is not defined
at l (C:\Users\jwilson2\AppData\Roaming\npm\node_modules\�[4mredoc-cli�[24m\node_modules\�[4mredoc�[24m\bundles\redoc.lib.js:2:24934)
at f (C:\Users\jwilson2\AppData\Roaming\npm\node_modules\�[4mredoc-cli�[24m\node_modules\�[4mredoc�[24m\bundles\redoc.lib.js:2:26195)
at a (C:\Users\jwilson2\AppData\Roaming\npm\node_modules\�[4mredoc-cli�[24m\node_modules\�[4mredoc�[24m\bundles\redoc.lib.js:2:24873)
at e.exports (C:\Users\jwilson2\AppData\Roaming\npm\node_modules\�[4mredoc-cli�[24m\node_modules\�[4mredoc�[24m\bundles\redoc.lib.js:2:26597)
at C:\Users\jwilson2\AppData\Roaming\npm\node_modules\�[4mredoc-cli�[24m\node_modules\�[4mredoc�[24m\bundles\redoc.lib.js:757:89
at C:\Users\jwilson2\AppData\Roaming\npm\node_modules\�[4mredoc-cli�[24m\node_modules\�[4mredoc�[24m\bundles\redoc.lib.js:1739:3291
at C:\Users\jwilson2\AppData\Roaming\npm\node_modules\�[4mredoc-cli�[24m\node_modules\�[4mredoc�[24m\bundles\redoc.lib.js:1739:3296
at C:\Users\jwilson2\AppData\Roaming\npm\node_modules\�[4mredoc-cli�[24m\node_modules\�[4mredoc�[24m\bundles\redoc.lib.js:2:81
at Object. (C:\Users\jwilson2\AppData\Roaming\npm\node_modules\�[4mredoc-cli�[24m\node_modules\�[4mredoc�[24m\bundles\redoc.lib.js:2:191)
�[90m at Module._compile (node:internal/modules/cjs/loader:1101:14)�[39m

Reverting back to 13.2 and everything works fine

@json0007 json0007 changed the title Reference Error Document is not defined Reference Error: Document is not defined Jan 25, 2022
@TitaneBoy
Copy link

I can confirm I have the same behavior here...

@wesleividmar
Copy link

I Have the same error!

@Herrick19
Copy link

So Do I

@RomanHotsiy
Copy link
Member

I'm on it.

@RomanHotsiy
Copy link
Member

New release is coming in 10-15min.

@RomanHotsiy
Copy link
Member

This is fixed in redoc-cli@0.13.5. I apologize for the troubles and for the fix to take so long 🙈

@Herrick19
Copy link

This is fixed in redoc-cli@0.13.5. I apologize for the troubles and for the fix to take so long 🙈

Yes you better be sorry !!!

Seriously, thanks a lot for the quick fix, greatly appreciated.

@RomanHotsiy
Copy link
Member

@Herrick19 thanks for confirmation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants