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

[BUG] Adding new tags breaks the site #238

Closed
vhvb1989 opened this issue Nov 7, 2023 · 0 comments · Fixed by #244
Closed

[BUG] Adding new tags breaks the site #238

vhvb1989 opened this issue Nov 7, 2023 · 0 comments · Fixed by #244
Assignees
Labels
bug Something isn't working

Comments

@vhvb1989
Copy link
Member

vhvb1989 commented Nov 7, 2023

Repro:
Add a new template in /static/templates.json with a tag like foo (or something more meaningful like:

"tags": [
      "webcomponents",
      "microfrontend"
]

When building the site, the next error is displayed:

✖ Server
  Compiled with some errors in 5.86s

[ERROR] Docusaurus server-side rendering could not render static page with path /.


TypeError: Cannot read properties of undefined (reading 'includes')
    at Array.filter (<anonymous>)
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
    at /home/vivazqu/workspace/awesome-azd/website/node_modules/@docusaurus/core/lib/webpack/utils.js:180:24
    at /home/vivazqu/workspace/awesome-azd/website/node_modules/webpack/lib/MultiCompiler.js:554:14
    at processQueueWorker (/home/vivazqu/workspace/awesome-azd/website/node_modules/webpack/lib/MultiCompiler.js:491:6)
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

Related: #235
issue: https://github.com/Azure/awesome-azd/actions/runs/6666384881/job/18117813190#step:4:39

@vhvb1989 vhvb1989 added the bug Something isn't working label Nov 7, 2023
@hemarina hemarina self-assigned this Nov 8, 2023
hemarina added a commit that referenced this issue Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants