You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But redoc-cli bundle sample.yaml gives me this error:
$ redoc-cli bundle sample.yaml
Prerendering docs
TypeError: str.slice is not a function
at Object.matchGrammar (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\prismjs\prism.js:380:23)
at Object.tokenize (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\prismjs\prism.js:424:5)
at Object.highlight (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\prismjs\prism.js:280:18)
at highlight (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\redoc\bundles\redoc.lib.js:7738:42)
at SourceCode.render (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\redoc\bundles\redoc.lib.js:11870:25)
at processChild (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\react-dom\cjs\react-dom-server.node.development.js:2942:18)
at resolve (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\react-dom\cjs\react-dom-server.node.development.js:2795:5)
at ReactDOMServerRenderer.render (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\react-dom\cjs\react-dom-server.node.development.js:3185:22)
at ReactDOMServerRenderer.read (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\react-dom\cjs\react-dom-server.node.development.js:3144:29)
at Object.renderToString (C:\Users\abcfy\AppData\Roaming\npm\node_modules\redoc-cli\node_modules\react-dom\cjs\react-dom-server.node.development.js:3629:27)
The text was updated successfully, but these errors were encountered:
Here is my
sample.yaml
:But
redoc-cli bundle sample.yaml
gives me this error:The text was updated successfully, but these errors were encountered: