-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
astro check without @astrojs/check dependency fails after installation #15842
Copy link
Copy link
Closed
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)
Description
Astro Info
Astro v6.0.0
Node v24.14.0
System Windows (x64)
Package Manager pnpm
Output static
Adapter @astrojs/cloudflare
Integrations @astrojs/preact
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Running astro check without the dependency causes the command to fail after installing the required dependencies.
Steps to reproduce (because a minimal reproduction repo would be too much):
pnpm create astro@latestand proceed with any choice (or clone a template, this does not require any specific scaffolding)cdinto the new directory just created- Run
pnpm astro check - Accept the dependency installation step
- Observe the error in the terminal after a successful installation
(thank you to @delucis for the original list on discord! ended up modifying it to be a bit shorter)
quick note: this bug apparently doesn't happen on StackBlitz, but is at least confirmed to be on Windows and Mac. Linux doesn't appear to reproduce this bug (tested on Ubuntu Server), but WSL has not been tested.
What's the expected result?
Astro checks successfully after installing @astrojs/check.
Link to Minimal Reproducible Example
Uh, https://github.com/withastro/astro/tree/main/examples/basics I guess? sorry I just needed to fill out this question
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)