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 Report]: failed to fill whole buffer #1950

Open
chneau opened this issue Nov 20, 2024 · 3 comments
Open

[Bug Report]: failed to fill whole buffer #1950

chneau opened this issue Nov 20, 2024 · 3 comments
Labels
bug Something isn't working scope: plugins v2.0 v2.0 version

Comments

@chneau
Copy link

chneau commented Nov 20, 2024

Steps to reproduce

I'm always using latest versions
since today I have this issue

called `Result::unwrap()` on an `Err` value: Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }
thread '<unnamed>' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/sass-embedded-0.7.1/src/varint.rs:8:30:

I don't know exactly what changed but this error was never a problem before.

Reproduce link

No response

What is actually happening?

farm build is now failing with the error described above

System Info

System:
    OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (12) x64 AMD EPYC 9634 84-Core Processor
    Memory: 25.84 GB / 31.34 GB
    Container: Yes
    Shell: 5.9 - /home/linuxbrew/.linuxbrew/bin/zsh
  Binaries:
    Node: 23.2.0 - /home/linuxbrew/.linuxbrew/bin/node
    npm: 10.9.0 - /home/linuxbrew/.linuxbrew/bin/npm
    bun: 1.1.36 - ~/.bun/bin/bun
  npmPackages:
    @farmfe/core: ^1.4.1 => 1.4.1
@chneau
Copy link
Author

chneau commented Nov 20, 2024

This package does not seem to be updated since a long time but is now throwing the error https://github.com/ahabhgk/sass-embedded-host-rust

@chneau
Copy link
Author

chneau commented Nov 20, 2024

As a workaround using this plugin @farmfe/js-plugin-sass instead of @farmfe/plugin-sass seems to work.

@wre232114
Copy link
Member

we recommend to use js plugin sass for now. we'll refactor sass rust plugin in v2

@fu050409 fu050409 added the v2.0 v2.0 version label Nov 25, 2024
@fu050409 fu050409 added bug Something isn't working scope: plugins labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scope: plugins v2.0 v2.0 version
Projects
None yet
Development

No branches or pull requests

3 participants