Comments (8)
Sure, FYI it's only at the point where I add this where things start to go wrong:
[
'redocusaurus',
{
specs: [{
specUrl: 'https://redocly.github.io/redoc/openapi.yaml',
}],
}
],
package.json:
{
"name": "flow-doc",
"version": "0.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "docusaurus serve",
"clear": "docusaurus clear"
},
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.70",
"@docusaurus/preset-classic": "2.0.0-alpha.70",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"redoc": "^2.0.0-rc.45",
"redocusaurus": "^0.3.4"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
(the "redoc": "^2.0.0-rc.45",
was added in an attempt to try to fix it. it fails without this too)
lock file is attached (would only let me attach it as a zip).
from redocusaurus.
Thanks for trying that out. Will check with updated dependencies.
from redocusaurus.
This should no longer be a problem in v0.4.0 (to be used with [email protected]
. Since now it also uses [email protected]
from redocusaurus.
This update works great! I love the new examples you've added as well. I'm really pleased, thanks for your work!
from redocusaurus.
Could you share your package.json
and package-lock.json
/yarn.lock
if possible?
from redocusaurus.
This is definitely an issue with dependency resolution. @docusaurus/core
uses [email protected]
while redoc
uses [email protected]
. Could you try removing node_modules
and package-lock.json
and try building with fresh node modules?
from redocusaurus.
Or adding [email protected]
as a dependency?
from redocusaurus.
Or adding
[email protected]
as a dependency?
I have not tried this yet.
But i did do a clean install on the example project
With the docusaurus deps upgraded, e.g.
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.73",
"@docusaurus/preset-classic": "^2.0.0-alpha.73",
"redocusaurus": "^0.3.4"
},
and received a similar error.
from redocusaurus.
Related Issues (20)
- Extend deploy script to sign git commits. HOT 1
- [ERROR] TypeError: Cannot set properties of undefined (setting 'minItems') HOT 9
- CSS broken HOT 1
- Callbacks lack proper background in dark mode HOT 1
- Is there a way to run the APIs through the redoc component ? HOT 1
- Support for Docusaurus 3.0 HOT 9
- Example not hidden for schema imports
- Redocusaurus should collect heading ids / anchors HOT 2
- Webpack missing in Peer Dependencies HOT 1
- Error: Docusaurus server-side rendering could not render static page with path /api/ because of error: slugify: string argument expected HOT 2
- Issue with calling useColorMode outside the ColorModeProvider for Docusaurus 3.0.1 HOT 5
- Logo from spec (x-logo) not being rendered. HOT 3
- Add warning for deprecated options and remove them in next breaking version
- Generate code samples
- Support versioning API along with docs HOT 1
- API Reference page on mobile device HOT 2
- Footer UI defect
- Sidebar scrolls under navbar on direct visit HOT 2
- Standalone redoc plugin HOT 3
- Sidebar scroll not working properly with offset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redocusaurus.