Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netlify build fails if there is a scheduled event on YouTube #213

Closed
dennyglee opened this issue Jan 11, 2023 · 1 comment
Closed

Netlify build fails if there is a scheduled event on YouTube #213

dennyglee opened this issue Jan 11, 2023 · 1 comment

Comments

@dennyglee
Copy link
Collaborator

When there is a scheduled YouTube event, the community page cannot build and gives us the following error. We should get this fixed.

The current workaround is to flip the event to private (vs. public) temporarily during the build, process, publish, and then can flip the YouTube event back to public.

6:05:57 PM: success Rewriting compilation hashes - 0.000s
6:05:57 PM: error UNHANDLED REJECTION Couldn't find temp query result for "/community/".
6:05:57 PM: 
6:05:57 PM:   Error: Couldn't find temp query result for "/community/".
  
6:05:57 PM:   - page-data.ts:104 readPageQueryResult
6:05:57 PM:     [repo]/[gatsby]/src/utils/page-data.ts:104:11
6:05:57 PM:   
6:05:57 PM:   - runMicrotasks
6:05:57 PM:   
6:05:57 PM:   - task_queues:61 runNextTicks
6:05:57 PM:     node:internal/process/task_queues:61:5
6:05:57 PM:   
6:05:57 PM:   - timers:437 processImmediate
6:05:57 PM:     node:internal/timers:437:9
6:05:57 PM:   
6:05:57 PM:   - page-data.ts:121 writePageData
6:05:57 PM:     [repo]/[gatsby]/src/utils/page-data.ts:121:18
6:05:57 PM:   
6:05:57 PM:   - page-data.ts:228 
6:05:57 PM:     [repo]/[gatsby]/src/utils/page-data.ts:228:24
6:05:57 PM:   
6:05:57 PM: 
6:05:57 PM: not finished Writing page-data.json files to public directory - 0.027s
6:05:58 PM: ​
6:05:58 PM:   "build.command" failed                                        
6:05:58 PM: ────────────────────────────────────────────────────────────────
6:05:58 PM: ​
6:05:58 PM:   Error message
6:05:58 PM:   Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
@dennyglee
Copy link
Collaborator Author

Resolved via #234 , thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant