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

bump lightningcss? #24

Open
mknaw opened this issue Feb 3, 2024 · 1 comment
Open

bump lightningcss? #24

mknaw opened this issue Feb 3, 2024 · 1 comment

Comments

@mknaw
Copy link

mknaw commented Feb 3, 2024

As it stands, I get the following when attempting to compile the package:

error[E0599]: no function or associated item named `from_vec2` found for struct `Selector` in the current scope
   --> /Users/mnawara/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parcel_css-1.0.0-alpha.32/src/parser.rs:873:89
    |
873 |         selectors: SelectorList(smallvec::smallvec![parcel_selectors::parser::Selector::from_vec2(
    |                                                                                         ^^^^^^^^^ function or associated item not found in `Selector<'_, _>`

error[E0599]: no function or associated item named `from_vec2` found for struct `Selector` in the current scope
    --> /Users/mnawara/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parcel_css-1.0.0-alpha.32/src/selector.rs:1611:27
     |
1611 |     .map(|lang| Selector::from_vec2(vec![Component::NonTSPseudoClass(PseudoClass::Lang(vec![lang.clone()]))]))
     |                           ^^^^^^^^^ function or associated item not found in `Selector<'_, _>`

error[E0599]: no function or associated item named `from_vec2` found for struct `Selector` in the current scope
    --> /Users/mnawara/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parcel_css-1.0.0-alpha.32/src/selector.rs:1623:42
     |
1623 |       Component::Negation(vec![Selector::from_vec2(vec![c])].into_boxed_slice())
     |                                          ^^^^^^^^^ function or associated item not found in `Selector<'_, _>`

however, bumping lightningcss to v1.0.0-alpha.51 resolves the issue for me.

I am not sure what other issues such a bump may introduce nor have I thoroughly investigated the underlying error.

@oovm
Copy link
Owner

oovm commented Feb 5, 2024

Version 0.12.7 provides lightningcss compatibility.

0.13.x is rewriting the generation logic in the dev2 branch. It has encountered some troubles and is difficult to change.

I can't give an exact time for repairs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants