Error - 'source-google-docs: undefined'
See original GitHub issueI am attempting to implement the latest v2.0.0-beta.1 version. I have the options set as below in the gatsby-config.js
{
resolve: 'gatsby-source-google-docs',
options: {
folders: [
process.env.FOLDER_ID_SHOWS,
process.env.FOLDER_ID_NEWS,
process.env.FOLDER_ID_ARTISTS,
process.env.FOLDER_ID_ARTWORKS,
],
fields: ['ownedByMe', 'shared'],
fieldsMapper: { createdTime: 'date' },
fieldsDefault: { draft: false },
replaceGoogleImages: true,
debug: true,
},
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: ['gatsby-remark-images'],
},
},
I have paired down my gatsby-node.js to as basic as your “page” example, yet when I run develop I get this error:
_object: {
context: { sourceMessage: 'source-google-docs: undefined' },
error: 'failed to process https://lh3.googleusercontent.com/UeJWtsJkT0NjS2TV5hSLhyLtkC25mZXbbHg1t_qK4-XalvYiCa9nC0NhTEz_WYn-nrPN2aXFKVn8niORzmvymbN0IGMX5JPHL-1k6brje763FsrEhftd6bQVzN95LcNmRYfXbX-raOTyuj9iMg\n' +
'Error: C:\\Projects\\loch\\.cache\\gatsby-source-filesystem\\17e4e820615e428840ed66621b0c6d7d\\GoogleDocsImage-https:\\lh3.googleusercontent.com contains invalid WIN32 path characters.',
text: 'source-google-docs: undefined',
level: 'ERROR',
stack: [],
docsUrl: 'https://gatsby.dev/issue-how-to'
},
I assume that when replaceGoogleImages: true,
is set that the remote images can not use Gatsby Img component using GatsbyImageSharp* though when I use this setting I can query all the data “without remark ecosystem” from my Google Docs and the source URLs for the images without any errors.
I am not sure how to proceed. Thank you for any help. Something I may be missing?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
stacktraces from async functions break error reporting #24863
Description Error while processing an error generated by a source plugin. Gatsby tries to open an invalid filename from the stack trace.
Read more >TypeError cannot read property undefined - Gatsby
I am trying to create pages from a JSON file. I keep getting this error. TypeError: Cannot read property 'Layout' of undefined.
Read more >Untitled
Asphalt cowboys gestorben, Life problem solving quotes, 2012 range rover for sale, ... Background color null css, Record xmlelement undefined.
Read more >How do I replace text in a spreadsheet with Google Apps Script?
[SOURCE] Google Docs: Inserting Text Boxes and Shapes - GCFLearnFree ... What does "TypeError: Cannot read property '1' of undefined" mean (JavaScript, ...
Read more >16 Best Administrative Tools For Your Business - MarketSplash
These tools also help eliminate some degree of human error that may occur without an AI-based platform ... Image Source: Google Docs.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I close this issue. Please comment and reopen an other if you need it 😃
I will investigate