Hello, when I try running "yarn start" it fails to build the pages. I made sure to create both enviroment files and added in my AirTable ID and API Key like instructed. So I'm not sure what the issue is...
The command yarn reset was not recognized by my system, does that have anything to do with it?
Here is everything outputed by PowerShell after using the following commands...
yarn reset
yarn start
PS C:\Users\Owner\,,,Local Dev\gatsby-airtable-starter> yarn reset
yarn run v1.22.0
$ rm -rf .cache/ public/
'rm' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
PS C:\Users\Owner\,,,Local Dev\gatsby-airtable-starter> yarn
yarn install v1.22.0
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.86s.
PS C:\Users\Owner\,,,Local Dev\gatsby-airtable-starter> yarn start
yarn run v1.22.0
$ gatsby develop
success open and validate gatsby-configs - 0.046s
success load plugins - 3.150s
success onPreInit - 0.007s
success initialize cache - 0.010s
success copy gatsby files - 0.374s
success onPreBootstrap - 0.023s
success createSchemaCustomization - 0.008s
ERROR #11321 PLUGIN
"gatsby-source-airtable" threw an error while running the sourceNodes lifecycle:
warn The gatsby-source-airtable plugin has generated no Gatsby nodes. Do you need it?
success source and transform nodes - 0.654s
success building schema - 0.229s
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allAirtable" on type "Query".
If you don't expect "allAirtable" to exist on the type "Query" it is most likely a typo.
However, if you expect "allAirtable" 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 "allAirtable" 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 a 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 "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: gatsby-node.js:13:36
ERROR #11330 PLUGIN
"gatsby-node.js" threw an error while running the createPages lifecycle:
errors is not defined
37 | })
38 | } catch (error) {
> 39 | console.log(errors)
| ^
40 | }
41 | }
42 |
Make sure that you don't have a typo somewhere and use valid arguments in createPages lifecycle.
Learn more about createPages here: https://www.gatsbyjs.org/docs/node-apis/#createPages
File: gatsby-node.js:39:17
failed createPages - 0.045s
success createPagesStatefully - 0.134s
success onPreExtractQueries - 0.004s
success update schema - 0.026s
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allAirtable" on type "Query".
If you don't expect "allAirtable" to exist on the type "Query" it is most likely a typo.
However, if you expect "allAirtable" 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 "allAirtable" 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 a 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 "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: src\staticContainers\Scenes\index.jsx:11:7
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "airtable" on type "Query".
If you don't expect "airtable" to exist on the type "Query" it is most likely a typo.
However, if you expect "airtable" 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 "airtable" 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 a 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 "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: src\templates\scene.js:28:5
failed extract queries from components - 0.522s
success write out requires - 0.147s
success write out redirect data - 0.061s
success Build manifest and related icons - 0.149s
success onPostBootstrap - 0.161s
⠀
info bootstrap finished - 13.495 s
⠀
success run queries - 0.051s - 5/5 98.09/s
warn Error persisting state: EPERM: operation not permitted, rename 'reduxcacheccOc69' -> 'C:\Users\Owner\,,,Local
warn Error persisting state: EPERM: operation not permitted, rename 'reduxcacheq6rhaQ' -> 'C:\Users\Owner\,,,Local
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
C:\Users\Owner\,,,Local Dev\gatsby-airtable-starter\src\staticContainers\Scenes\index.jsx
11:7 error Cannot query field "allAirtable" on type "Query". Did you mean "allFile" or "allSite"? graphql/template-strings
✖ 1 problem (1 error, 0 warnings)
File: src\staticContainers\Scenes\index.jsx
failed Building development bundle - 7.262s
————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
5 pages Failed gatsby-starter-airtable
Hello, when I try running "yarn start" it fails to build the pages. I made sure to create both enviroment files and added in my AirTable ID and API Key like instructed. So I'm not sure what the issue is...
The command yarn reset was not recognized by my system, does that have anything to do with it?
Here is everything outputed by PowerShell after using the following commands...
yarn reset yarn start