Comments (6)
I ran into this issue as well. Doing a yarn add @cloudflare/json-hyper-schema
resolves it but it's a bit of an odd fix.
from json-schema-tools.
@busticated buried in your issue is the following ...
- my data and schema are located in the same directory (manifest.json and manifest.schema.json where the former is my actual data and the later is the schema file using $schema: "http://json-schema.org/draft-07/schema#")
any pointers you could provide would be much appreciated 🙏
I have created a feature (10 minutes) that allows you to pass in the **/*.schema.json
so you can ignore the data files.
https://github.com/rbuckland/json-schema-tools/tree/feature/doca-glob-option
I raised it specifically as #18
from json-schema-tools.
I also have run into this issue, also I am not using yarn but NPM as well.
from json-schema-tools.
I ran into this issue as well. Doing a
yarn add @cloudflare/json-hyper-schema
resolves it but it's a bit of an odd fix.
i did the same then it works.
from json-schema-tools.
Here to report the same. Though I am attempting to use NPM. Ended up running NPM install (which there was already a node_modules folder so I had assumed it was ran as a part of the cli), that installed quite a bit but did not resolve the issue.
Installed it manually (via npm), got new errors:
ERROR in ./getting-started.json
Module build failed: LoaderRunnerError: Module '/Users/x/Documents/GitHub/y/documentation/node_modules/@cloudflare/json-schema-apidoc-loader/lib/loader.js' is not a loader (must have normal or pitch function)
from json-schema-tools.
Just run npm i @cloudflare/json-hyper-schema , it will resolve this issue
from json-schema-tools.
Related Issues (16)
- Webpack warning when running examples HOT 9
- Getting yarn errors HOT 3
- doca - Create an option for schema glob
- json-schema-ref-loader can't handle circular references HOT 5
- Help with inline import json-schema-ref-loader HOT 5
- Where is the schema for cloudflare api v4? HOT 13
- json-schema-ref-loader NPM package still has `console.error` in loader code.
- Module build failed: LoaderRunnerError: Module: '<path>/json-schema-apidoc-loader/lib/loader.js' is not a loader (must have normal or pitch function)
- Clearly document config.js (base URI and headers)
- Order of properties
- Windows support HOT 2
- Support "examples" (plural) from draft-06
- doca init -title <Title>
- Support project folder outside of working directory
- Webpack process only picks up some of the css files in a theme
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 json-schema-tools.