Comments (4)
Target release: 2.0.0-beta.20
Note: beta.19 removed support for
FrontMatter
type. RefactoredApiItem
to useDocFrontMatter
type instead, copied over from https://github.com/facebook/docusaurus/blob/main/packages/docusaurus-plugin-content-docs/src/plugin-content-docs.d.ts#L260.
- ✅ Dev server
- ❌ Production Build
Stack trace:
TypeError: chalk_1.default.bold is not a function
TypeError: chalk_1.default.bold is not a function
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
at /Users/sserrata/projects/panw/docusaurus-openapi/node_modules/@docusaurus/core/lib/webpack/utils.js:182:24
at /Users/sserrata/projects/panw/docusaurus-openapi/node_modules/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker (/Users/sserrata/projects/panw/docusaurus-openapi/node_modules/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/local/Cellar/node/17.4.0/bin/node
Arguments: /usr/local/lib/node_modules/yarn/lib/cli.js build
Directory: /Users/sserrata/projects/panw/docusaurus-openapi/demo
Output:
info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
from docusaurus-openapi-docs.
Decided it wouldn't hurt to review and remediate all @ts-ignore
usage throughout the project, that could otherwise be masking underlying problems. See #80 for details.
from docusaurus-openapi-docs.
Issue reported here: facebook/docusaurus#7398
from docusaurus-openapi-docs.
Able to build successfully after facebook/docusaurus#7453 was merged
from docusaurus-openapi-docs.
Related Issues (20)
- Support for Docusauros 3.2.1 HOT 1
- Uncaught Runtime Errors HOT 7
- Missing selector dropdown menu HOT 2
- Download URL on versions is referring to the main version HOT 2
- Add classes to sidebar items when certain API specification criteria are met. HOT 1
- CodeSnippets can't display if `languageTabs` isn't present in docusaurus theme config HOT 2
- [Bug] Setup of Docusaurus from scratch on Windows HOT 1
- Change endpoints ServerUrl location to be table
- Missing information in 'Authorization: <API_KEY_VALUE>'
- Missing information in the API key value in the Authorization header in all the sample codes HOT 2
- Response example summary is broken in v3 HOT 4
- Fenced code blocks started with `~~~` are incorrectly cleaned in v3 HOT 2
- Huge swagger.json file is not being processed HOT 4
- Example & externalDocs attributes not displaying
- Custom item naming and path generation HOT 1
- Show description of 'oneOf' schema items HOT 4
- oneOf creates strange-looking schema
- Ignore unknown vendor extensions HOT 5
- oneOf at root of schema generates empty <SchemaTabs> resulting in <Tabs> error HOT 3
- Autogenerated docs sidebar shows the api spec item when it shouldn't HOT 1
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 docusaurus-openapi-docs.