Closed cristiulian closed 2 years ago
Hi dude, I'm updating all dependencies in order to launch v2.4 with an updated and stabled version of Docz. I think next week I'll get with this, after that we can maybe go back here and see if will happen this yet.
I tried to add Docz to a Gatsby 3 site and got a build error right off, so I'll probably be trying out other similar libs -- any plans to support Gatsby 3?
$ docz dev
Building app
warn Plugin gatsby-source-filesystem is not compatible with your gatsby version 3.9.1 - It requires
gatsby@^2.2.0
warn Plugin gatsby-plugin-emotion is not compatible with your gatsby version 3.9.1 - It requires gatsby@^2.0.0
warn Plugin gatsby-source-filesystem is not compatible with your gatsby version 3.9.1 - It requires
gatsby@^2.2.0
warn Plugin gatsby-plugin-emotion is not compatible with your gatsby version 3.9.1 - It requires gatsby@^2.0.0
ERROR
Error in "/home/mg/projects/acb001/node_modules/gatsby-plugin-netlify/gatsby-node.js": Cannot read property
'RawSource' of undefined
TypeError: Cannot read property 'RawSource' of undefined
- WebpackAssetsManifest.js:17 Object.<anonymous>
[acb001]/[webpack-assets-manifest]/src/WebpackAssetsManifest.js:17:47
- v8-compile-cache.js:192 Module._compile
[acb001]/[v8-compile-cache]/v8-compile-cache.js:192:30
- loader.js:1157 Object.Module._extensions..js
internal/modules/cjs/loader.js:1157:10
- loader.js:985 Module.load
internal/modules/cjs/loader.js:985:32
- loader.js:878 Function.Module._load
internal/modules/cjs/loader.js:878:14
- loader.js:1025 Module.require
internal/modules/cjs/loader.js:1025:19
- v8-compile-cache.js:159 require
[acb001]/[v8-compile-cache]/v8-compile-cache.js:159:20
- gatsby-node.js:5 Object.<anonymous>
[acb001]/[gatsby-plugin-netlify]/gatsby-node.js:5:53
- v8-compile-cache.js:192 Module._compile
[acb001]/[v8-compile-cache]/v8-compile-cache.js:192:30
- loader.js:1157 Object.Module._extensions..js
internal/modules/cjs/loader.js:1157:10
- loader.js:985 Module.load
internal/modules/cjs/loader.js:985:32
- loader.js:878 Function.Module._load
internal/modules/cjs/loader.js:878:14
- loader.js:1025 Module.require
internal/modules/cjs/loader.js:1025:19
- v8-compile-cache.js:159 require
[acb001]/[v8-compile-cache]/v8-compile-cache.js:159:20
- resolve-module-exports.ts:197 resolveModuleExports
[acb001]/[gatsby]/src/bootstrap/resolve-module-exports.ts:197:26
- validate.ts:349
[acb001]/[gatsby]/src/bootstrap/load-plugins/validate.ts:349:31
not finished open and validate gatsby-configs, load plugins - 2.130s
Hey @mosesoak, we're actually working right now to upgrade all our dependencies, so supporting gatsby v3 it's totally in our plans, but even it's on the road. Unfortunately, we don't have a perspective yet about when we're going to launch it, once we're using this for doing some new stuff to avoid further regressive issues.
I'll be closing this one as we're going to wanna get it solved in a single issue (https://github.com/doczjs/docz/issues/1654), as referred above. If it's happening also in a web environment (or non-react-native projects), please, open a new issue.
Bug Report
Following the steps from here: https://www.gatsbyjs.com/tutorial/writing-documentation-with-docz/ When running the develop script, I get a bunch of errors.
To Reproduce
It gets stuck here.
Environment