-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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: [ERROR] The build was canceled #11390
Comments
This is unrelated to |
@simonwinter could you please create a reproduction for us? |
Hello @simonwinter. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
I have the issue as well when running astro sync. The error disappears, when you clear out the content directory. The fix in my case was to move the config.ts from the src to the proper content directory. |
Describe the Bug
I've just encountered a similar error with astro
4.11.3
and astro-check0.7.0
as the closed error withastro/language-tools#757 - namely I would get the following when runningastro check
:Note: for brevity, I've changed the build command to simply
astro check
, notastro check && astro build
Solution?
After much digging, I found that I had an empty
content
directory (i.e. a directory with no files inside). Removing it and running the command again solved this issue.Steps to Reproduce
Using yarn berry (4.3.1):
yarn install
yarn build
The text was updated successfully, but these errors were encountered: