-
Notifications
You must be signed in to change notification settings - Fork 30
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
Error: Cannot find module '@cloudflare/json-hyper-schema' and other start-up bumps... #15
Comments
I ran into this issue as well. Doing a |
I also have run into this issue, also I am not using yarn but NPM as well. |
@busticated buried in your issue is the following ...
I have created a feature (10 minutes) that allows you to pass in the https://github.com/rbuckland/json-schema-tools/tree/feature/doca-glob-option |
i did the same then it works. |
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:
|
Just run npm i @cloudflare/json-hyper-schema , it will resolve this issue |
hi there 👋
i'm trying to get up and running using
doca
. i was able to init a local docs app:i then
cd ./docs && npm i
which runs fine but when i try to run the resulting app, i getError: Cannot find module '@cloudflare/json-hyper-schema'
if i install that dependency via
npm i @cloudflare/json-hyper-schema --save
, i'm able to runnpm run build:nojs
but then the resulting app is empty -open build/index.html
shows what looks like empty boilerplate.looking at the
schemas.js
andgetting-started.json
files, i see:and
not sure where i went wrong but fwiw, i'm doing perhaps two things that are unexpected / not handled: 1) i'm running
npm
(notyarn
) and 2) my data and schema are located in the same directory (manifest.json
andmanifest.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 🙏
The text was updated successfully, but these errors were encountered: