Skip to content

πŸ› BUG:Β #1107

@mugger67

Description

@mugger67

What version of @astrojs/compiler are you using?

2.12.2

What package manager are you using?

npm

What operating system are you using?

Windows

Describe the Bug

βœ— Build failed in 2.11s
--
14:39:39.822 | [UnknownCompilerError] [astro:build] Cannot read properties of undefined (reading 'exports')
14:39:39.822 | file: /opt/buildhome/repo/src/components/TableOfContents.astro:undefined:undefined
14:39:39.822 | Hint:
14:39:39.822 | This is almost always a problem with the Astro compiler, not your code. Please open an issue at https://astro.build/issues/compiler.
14:39:39.822 | Error reference:
14:39:39.822 | https://docs.astro.build/en/reference/errors/unknown-compiler-error/
14:39:39.822 | Location:
14:39:39.822 | /opt/buildhome/repo/src/components/TableOfContents.astro:0:0
14:39:39.822 | Stack trace:
14:39:39.822 | at syscall/js.valueNew (file:///opt/buildhome/repo/node_modules/@astrojs/compiler/dist/chunk-W5DTLHV4.js:1:4526)
14:39:39.823 | at wasm://wasm/01395692:wasm-function[1567]:0x168afa
14:39:39.823 | at wasm://wasm/01395692:wasm-function[1543]:0x164bec
14:39:39.823 | at wasm://wasm/01395692:wasm-function[1169]:0xfaaf6
14:39:39.823 | at Object.transform (file:///opt/buildhome/repo/node_modules/@astrojs/compiler/dist/chunk-W5DTLHV4.js:1:6575)
14:39:40.247 | Failed: error occurred while running build command

Link to Minimal Reproducible Example

https://waste-management.brian-2cd.workers.dev/

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions