-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I am trying to run the doca examples using the following commands:
lerna -v
node -v
git clone https://github.com/cloudflare/json-schema-tools.git
cd json-schema-tools
lerna bootstrap
cd workspaces/doca/example-schemas/draft-04
doca init
cd documentation
../../../../../scripts/yarn/bin/yarn install
../../../../../scripts/yarn/bin/yarn start
But I get warnings from webpack and the resulting webpage is only very minimally styled. The output from the above is:
2.11.0
v8.9.1
Cloning into 'json-schema-tools'...
remote: Counting objects: 883, done.
remote: Compressing objects: 100% (390/390), done.
remote: Total 883 (delta 471), reused 862 (delta 451), pack-reused 0
Receiving objects: 100% (883/883), 1.26 MiB | 1.98 MiB/s, done.
Resolving deltas: 100% (471/471), done.
lerna info version 2.11.0
lerna info versioning independent
lerna info Bootstrapping 7 packages
lerna info hoist Finished installing in root
lerna success Bootstrapped 7 packages
Folder documentation has been created.
Importing these schemas from .:
- common/collection.json
- common/identifier.json
- solarsystem/definitions/measurements.json
- solarsystem/definitions/orbit.json
- solarsystem/definitions/planet.json
- solarsystem/dwarfplanet.json
- solarsystem/planet.json
- solarsystem/probe.json
- solarsystem/sun.json
Doca project files has been copied!
Customizing doca project files:
documentation/schemas.js
Trying to yarn add @cloudflare/doca-default-theme for project documentation...
Theme @cloudflare/doca-default-theme at documentation has been successfully installed!
Setting documentation theme to @cloudflare/doca-default-theme. Files changed:
documentation/src/client/main.js
documentation/src/server/html.js
documentation/webpack/build.js
yarn install v1.3.2
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
success Already up-to-date.
✨ Done in 0.50s.
yarn run v1.3.2
$ node webpack/index | NODE_ENV=development node src/server
Server started on port 8000
/Users/rich/code/json-schema-tools/workspaces/doca/example-schemas/draft-04/solarsystem/planet.json
/Users/rich/code/json-schema-tools/workspaces/doca/example-schemas/draft-04/solarsystem/dwarfplanet.json
/Users/rich/code/json-schema-tools/workspaces/doca/example-schemas/draft-04/solarsystem/probe.json
/Users/rich/code/json-schema-tools/workspaces/doca/example-schemas/draft-04/solarsystem/sun.json
/Users/rich/code/json-schema-tools/workspaces/doca/example-schemas/draft-04/documentation/getting-started.json
⚠ 「wdm」: Hash: c48508533cd4cb5aaf7c
Version: webpack 3.12.0
Time: 1817ms
Asset Size Chunks Chunk Names
app.js 4.04 MB 0 [emitted] [big] app
[14] ./node_modules/react/react.js 56 bytes {0} [built]
[33] (webpack)/buildin/module.js 517 bytes {0} [built]
[81] ./schemas.js 635 bytes {0} [built]
[91] ./node_modules/react-dom/index.js 59 bytes {0} [built]
[117] ./node_modules/react-redux/es/index.js 230 bytes {0} [built]
[154] multi webpack-hot-middleware/client?path=http://198.18.0.254:8080/__webpack_hmr ./src/client/index.js 40 bytes {0} [built]
[155] (webpack)-hot-middleware/client.js?path=http://198.18.0.254:8080/__webpack_hmr 7.77 kB {0} [built]
[156] ./node_modules/querystring-es3/index.js 127 bytes {0} [built]
[159] ./node_modules/strip-ansi/index.js 161 bytes {0} [built]
[161] (webpack)-hot-middleware/client-overlay.js 2.21 kB {0} [built]
[166] (webpack)-hot-middleware/process-update.js 4.33 kB {0} [built]
[167] ./src/client/index.js 710 bytes {0} [built]
[292] ./src/client/main.js 1.27 kB {0} [built]
[293] ./node_modules/@cloudflare/doca-default-theme/index.js 100 bytes {0} [built]
[413] ./src/client/store.js 1.42 kB {0} [built]
+ 406 hidden modules
WARNING in ./src/client/main.js
23:15-89 Critical dependency: Contexts can't use RegExps with the 'g' or 'y' flags.
@ ./src/client/main.js
@ ./src/client/index.js
@ multi webpack-hot-middleware/client?path=http://198.18.0.254:8080/__webpack_hmr ./src/client/index.js
WARNING in ./src/client/main.js
25:16-91 Critical dependency: Contexts can't use RegExps with the 'g' or 'y' flags.
@ ./src/client/main.js
@ ./src/client/index.js
@ multi webpack-hot-middleware/client?path=http://198.18.0.254:8080/__webpack_hmr ./src/client/index.js
WARNING in ./src/client/main.js
27:16-91 Critical dependency: Contexts can't use RegExps with the 'g' or 'y' flags.
@ ./src/client/main.js
@ ./src/client/index.js
@ multi webpack-hot-middleware/client?path=http://198.18.0.254:8080/__webpack_hmr ./src/client/index.js
This is using macOS 10.13.1
Is it something I'm doing wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels