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: Commented out scripts can crash the compiler #988

Open
lilnasy opened this issue Mar 26, 2024 · 0 comments
Open

🐛 BUG: Commented out scripts can crash the compiler #988

lilnasy opened this issue Mar 26, 2024 · 0 comments
Labels
needs triage Issue needs to be triaged

Comments

@lilnasy
Copy link
Contributor

lilnasy commented Mar 26, 2024

What version of @astrojs/compiler are you using?

2.7.0

What package manager are you using?

pnpm

What operating system are you using?

Windows

Describe the Bug

image
runtime error: slice bounds out of range [1:0]
---
import Grid from "../components/Grid"
---
<!-- <script>
import Grid from "../components/Grid"
</script> -->
<Grid client:only/>

Link to Minimal Reproducible Example

Live Astro Compiler

@github-actions github-actions bot added the needs triage Issue needs to be triaged label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants
@lilnasy and others