You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't expect "fields" to exist on the type "Mdx" it is most likely a typo.
However, if you expect "fields" to exist there are a couple of solutions to common problems:
If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and
what shape they have
You want to optionally use your field "fields" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL
schema. A quick fix is to add at least one entry with that field ("dummy content")
If you don't expect "fields" to exist on the type "Mdx" it is most likely a typo.
However, if you expect "fields" to exist there are a couple of solutions to common problems:
If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and
what shape they have
You want to optionally use your field "fields" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL
schema. A quick fix is to add at least one entry with that field ("dummy content")
warn isModuleDeclaration has been deprecated, please migrate to isImportOrExportDeclaration
at isModuleDeclaration (C:\Users\salve\OneDrive\Desktop\Kavach
Documentation\kavach-docs\node_modules@babel\types\lib\validators\generated\index.js:3940:35)
at PluginPass.Program (C:\Users\salve\OneDrive\Desktop\Kavach Documentation\kavach-docs\node_modules\babel-plugin-lodash\lib\index.js:102:44)
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the preprocessSource lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
128 | }
129 |
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:130:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:130 Object.preprocessSource
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:130:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:641 Promise._settlePromiseCtx
[kavach-docs]/[bluebird]/js/release/promise.js:641:10
async.js:97 _drainQueueStep
[kavach-docs]/[bluebird]/js/release/async.js:97:12
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the preprocessSource lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
128 | }
129 |
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:130:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:130 Object.preprocessSource
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:130:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:641 Promise._settlePromiseCtx
[kavach-docs]/[bluebird]/js/release/promise.js:641:10
async.js:97 _drainQueueStep
[kavach-docs]/[bluebird]/js/release/async.js:97:12
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the preprocessSource lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
128 | }
129 |
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:130:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:130 Object.preprocessSource
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:130:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:641 Promise._settlePromiseCtx
[kavach-docs]/[bluebird]/js/release/promise.js:641:10
async.js:97 _drainQueueStep
[kavach-docs]/[bluebird]/js/release/async.js:97:12
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the preprocessSource lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
128 | }
129 |
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:130:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:130 Object.preprocessSource
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:130:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:641 Promise._settlePromiseCtx
[kavach-docs]/[bluebird]/js/release/promise.js:641:10
async.js:97 _drainQueueStep
[kavach-docs]/[bluebird]/js/release/async.js:97:12
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the preprocessSource lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
128 | }
129 |
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:130:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:130 Object.preprocessSource
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:130:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:641 Promise._settlePromiseCtx
[kavach-docs]/[bluebird]/js/release/promise.js:641:10
async.js:97 _drainQueueStep
[kavach-docs]/[bluebird]/js/release/async.js:97:12
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the preprocessSource lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
128 | }
129 |
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:130:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:130 Object.preprocessSource
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:130:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:641 Promise._settlePromiseCtx
[kavach-docs]/[bluebird]/js/release/promise.js:641:10
async.js:97 _drainQueueStep
[kavach-docs]/[bluebird]/js/release/async.js:97:12
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the preprocessSource lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
128 | }
129 |
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:130:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:130 Object.preprocessSource
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:130:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:641 Promise._settlePromiseCtx
[kavach-docs]/[bluebird]/js/release/promise.js:641:10
async.js:97 _drainQueueStep
[kavach-docs]/[bluebird]/js/release/async.js:97:12
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the preprocessSource lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
128 | }
129 |
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:130:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:130 Object.preprocessSource
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:130:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:641 Promise._settlePromiseCtx
[kavach-docs]/[bluebird]/js/release/promise.js:641:10
async.js:97 _drainQueueStep
[kavach-docs]/[bluebird]/js/release/async.js:97:12
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the preprocessSource lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
128 | }
129 |
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:130:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:130 Object.preprocessSource
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:130:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:641 Promise._settlePromiseCtx
[kavach-docs]/[bluebird]/js/release/promise.js:641:10
async.js:97 _drainQueueStep
[kavach-docs]/[bluebird]/js/release/async.js:97:12
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Field "fields" is not defined by type MdxFilterInput.
File: node_modules\smooth-doc\src\components\SideNav.js:9:22
GraphQLError: Field "fields" is not defined by type MdxFilterInput.
query-compiler.js:212 extractOperations
[kavach-docs]/[gatsby]/src/query/query-compiler.js:212:20
query-compiler.js:171 processQueries
[kavach-docs]/[gatsby]/src/query/query-compiler.js:171:45
query-compiler.js:82 compile
[kavach-docs]/[gatsby]/src/query/query-compiler.js:82:19
task_queues:95 processTicksAndRejections
node:internal/process/task_queues:95:5
query-watcher.ts:220 updateStateAndRunQueries
[kavach-docs]/[gatsby]/src/query/query-watcher.ts:220:40
extract-queries.ts:18 extractQueries
[kavach-docs]/[gatsby]/src/services/extract-queries.ts:18:3
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "fields" on type "Mdx".
If you don't expect "fields" to exist on the type "Mdx" it is most likely a typo.
However, if you expect "fields" to exist there are a couple of solutions to common problems:
what shape they have
schema. A quick fix is to add at least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content".
Visit our docs to learn how you can define the schema for "Mdx":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules\smooth-doc\src\templates\page.js:6:7
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "fields" on type "Mdx".
If you don't expect "fields" to exist on the type "Mdx" it is most likely a typo.
However, if you expect "fields" to exist there are a couple of solutions to common problems:
what shape they have
schema. A quick fix is to add at least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content".
Visit our docs to learn how you can define the schema for "Mdx":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules\smooth-doc\src\templates\doc.js:6:7
failed extract queries from components - 0.956s
success write out requires - 0.018s
success run static queries - 0.075s - 5/5 66.55/s
success run page queries - 0.035s - 1/1 28.47/s
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the onCreateWebpackConfig lifecycle:
Cannot read properties of undefined (reading 'setParserPlugins')
40 | }, pluginOptions) => {
41 | const options = (0, _pluginOptions.defaultOptions)(pluginOptions);
File: node_modules\smooth-doc\node_modules\gatsby-plugin-mdx\dist\gatsby-node.js:42:65
TypeError: Cannot read properties of undefined (reading 'setParserPlugins')
plugin-options.js:70 enhanceMdxOptions
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/plugin-options.js:70:33
gatsby-node.js:42 Object.onCreateWebpackConfig
[kavach-docs]/[smooth-doc]/[gatsby-plugin-mdx]/dist/gatsby-node.js:42:65
api-runner-node.js:485 runAPI
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:485:22
api-runner-node.js:636 Promise.catch.decorateEvent.pluginName
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:636:13
debuggability.js:384 Promise._execute
[kavach-docs]/[bluebird]/js/release/debuggability.js:384:9
promise.js:518 Promise._resolveFromExecutor
[kavach-docs]/[bluebird]/js/release/promise.js:518:18
promise.js:103 new Promise
[kavach-docs]/[bluebird]/js/release/promise.js:103:10
api-runner-node.js:634
[kavach-docs]/[gatsby]/src/utils/api-runner-node.js:634:16
util.js:16 tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
reduce.js:166 Object.gotValue
[kavach-docs]/[bluebird]/js/release/reduce.js:166:18
reduce.js:155 Object.gotAccum
[kavach-docs]/[bluebird]/js/release/reduce.js:155:25
util.js:16 Object.tryCatcher
[kavach-docs]/[bluebird]/js/release/util.js:16:23
promise.js:547 Promise._settlePromiseFromHandler
[kavach-docs]/[bluebird]/js/release/promise.js:547:31
promise.js:604 Promise._settlePromise
[kavach-docs]/[bluebird]/js/release/promise.js:604:18
promise.js:649 Promise._settlePromise0
[kavach-docs]/[bluebird]/js/release/promise.js:649:10
promise.js:729 Promise._settlePromises
[kavach-docs]/[bluebird]/js/release/promise.js:729:18
warn
isModuleDeclaration
has been deprecated, please migrate toisImportOrExportDeclaration
at isModuleDeclaration (C:\Users\salve\OneDrive\Desktop\Kavach
Documentation\kavach-docs\node_modules@babel\types\lib\validators\generated\index.js:3940:35)
at PluginPass.Program (C:\Users\salve\OneDrive\Desktop\Kavach Documentation\kavach-docs\node_modules\babel-plugin-lodash\lib\index.js:102:44)
ERROR
error:0308010C:digital envelope routines::unsupported
Error: error:0308010C:digital envelope routines::unsupported
hash:71 new Hash
node:internal/crypto/hash:71:19
node:crypto:133 Object.createHash
node:crypto:133:10
createHash.js:135 module.exports
[kavach-docs]/[webpack]/lib/util/createHash.js:135:53
NormalModule.js:417 NormalModule._initBuildHash
[kavach-docs]/[webpack]/lib/NormalModule.js:417:16
NormalModule.js:471 handleParseError
[kavach-docs]/[webpack]/lib/NormalModule.js:471:10
NormalModule.js:503
[kavach-docs]/[webpack]/lib/NormalModule.js:503:5
NormalModule.js:358
[kavach-docs]/[webpack]/lib/NormalModule.js:358:12
LoaderRunner.js:373
[kavach-docs]/[loader-runner]/lib/LoaderRunner.js:373:3
LoaderRunner.js:214 iterateNormalLoaders
[kavach-docs]/[loader-runner]/lib/LoaderRunner.js:214:10
LoaderRunner.js:221 iterateNormalLoaders
[kavach-docs]/[loader-runner]/lib/LoaderRunner.js:221:10
LoaderRunner.js:236
[kavach-docs]/[loader-runner]/lib/LoaderRunner.js:236:3
LoaderRunner.js:111 context.callback
[kavach-docs]/[loader-runner]/lib/LoaderRunner.js:111:13
index.js:44
[kavach-docs]/[babel-loader]/lib/index.js:44:71
#I am getting this error
I have tried
--legacy-peer-deps and --force
The text was updated successfully, but these errors were encountered: