You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproducible by adding import Navigation from '../components/Navigation.astro'; to the index.astro file AND adding in the body. These are the contents of the file"
What version of
@astrojs/compiler
are you using?Don't know
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
Reproducible by adding import Navigation from '../components/Navigation.astro'; to the index.astro file AND adding in the body. These are the contents of the file"
1 ---
2 import '../styles/global.css';
3 import Navigation from '../components/Navigation.astro';
4 ---
5
6
7
8
9
10
11
12
13
14
15 <title>Astro</title>
16
17
18
Astro
19
My Astro Site
20
21
This is the output from the web browser:
goroutine 48 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:24 +0x6
github.com/withastro/compiler/internal_wasm/utils.ErrorToJSError(0x6d9320, {0xb26458, 0x6f02e8})
github.com/withastro/compiler/internal_wasm/utils/utils.go:68 +0x2
main.Transform.func1.1.1.1()
./astro-wasm.go:290 +0x5
panic({0x2db80, 0x6f02e8})
runtime/panic.go:884 +0x29
github.com/withastro/compiler/internal.inBodyIM(0x6d9440)
github.com/withastro/compiler/internal/parser.go:1157 +0x658
github.com/withastro/compiler/internal.(*parser).parseCurrentToken(0x6d9440)
github.com/withastro/compiler/internal/parser.go:2968 +0x13
github.com/withastro/compiler/internal.(*parser).parse(0x6d9440)
github.com/withastro/compiler/internal/parser.go:2995 +0x3
github.com/withastro/compiler/internal.ParseWithOptions({0x7b778, 0x42dac0}, {0x439b80, 0x1, 0x1})
github.com/withastro/compiler/internal/parser.go:3059 +0x1c
main.Transform.func1.1.1()
./astro-wasm.go:295 +0xc
created by main.Transform.func1.1
./astro-wasm.go:286 +0x14
Link to Minimal Reproducible Example
stackblitz not enabled.
The text was updated successfully, but these errors were encountered: