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

Windows: error auto-installing dart-sass #21

Closed
akesson opened this issue Dec 1, 2022 · 3 comments
Closed

Windows: error auto-installing dart-sass #21

akesson opened this issue Dec 1, 2022 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@akesson
Copy link
Collaborator

akesson commented Dec 1, 2022

On windows, when running cargo leptos watch without sass installed:

Leptos rebuild stopped due to error: at `src\main.rs@147:33`

Caused by:
    0: at `src\main.rs@155:30`
    1: compile sass/scss: style/main.scss at `src\run\sass.rs@24:14`
    2: Try manually installing sass: https://sass-lang.com/install at `src\run\sass.rs@45:26`
    3: Unable to download sass for windows x86_64 due to: failed to download from https://github.com/sass/dart-sass/releases/download/1.56.1/dart-sass-1.56.1-windows-x64.zip

The error is thrown by the binary-install crate.

Preliminary investigation shows that the cache dir AppData/Local/.cargo-leptos is created, but nothing is extracted to it.

Any help solving this would be appreciated as I don't have Windows myself.

@akesson akesson added bug Something isn't working help wanted Extra attention is needed labels Dec 1, 2022
@akesson
Copy link
Collaborator Author

akesson commented Dec 2, 2022

Windows 11 virtual machine download

@AshSimmonds
Copy link

When testing this (on Discord recently) I wasn't able to tell why the download itself wasn't happening, and it may just be my machine which might have certain ports blocked or such, not sure as it's fairly well locked down. So this may well still work, just need more Windows folk to test on.

@akesson
Copy link
Collaborator Author

akesson commented Dec 8, 2022

Fixed by #24

@akesson akesson closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants