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

Build of asset images fails only on Windows #7814

Closed
1 task
Akxe opened this issue Jul 26, 2023 · 0 comments · Fixed by #7826
Closed
1 task

Build of asset images fails only on Windows #7814

Akxe opened this issue Jul 26, 2023 · 0 comments · Fixed by #7826
Assignees
Labels
- P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority) feat: assets Related to the Assets feature (scope)

Comments

@Akxe
Copy link

Akxe commented Jul 26, 2023

What version of astro are you using?

2.9.3

Are you using an SSR adapter? If so, which one?

Github pages

What package manager are you using?

npm

What operating system are you using?

Windows & Ubuntu (for build)

What browser are you using?

Chrome

Describe the Bug

Build does fail on Windows machine with this error: [ERR_INVALID_FILE_URL_PATH]: File URL path must be absolute.

The bug does not occur on Linux or when run using astro dev

What's the expected result?

Either the build should fail in all cases or neither.

Link to Minimal Reproducible Example

https://github.com/Akxe/gingerarchitecture.cz/tree/UpdateAstro%402.9.x (The repo will be made public for the duration of the issue)

Clone on Windows and run npm run build

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Jul 26, 2023
@Princesseuh Princesseuh self-assigned this Jul 26, 2023
@Princesseuh Princesseuh added - P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority) feat: assets Related to the Assets feature (scope) and removed needs triage Issue needs to be triaged labels Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority) feat: assets Related to the Assets feature (scope)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants