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

could not find serde in the list of imported crates #7148

Closed
mischnic opened this issue Mar 27, 2023 · 4 comments
Closed

could not find serde in the list of imported crates #7148

mischnic opened this issue Mar 27, 2023 · 4 comments
Assignees
Milestone

Comments

@mischnic
Copy link
Contributor

mischnic commented Mar 27, 2023

[dependencies]
swc_ecmascript = { version = "0.223.0", features = ["parser", "transforms", "module", "optimization", "react", "typescript", "utils", "visit", "codegen", "utils", "preset_env"] }
swc_common = { version = "0.29.40", features = ["tty-emitter", "sourcemap"] }
swc_atoms = "0.4.39"
error[E0433]: failed to resolve: could not find `serde` in the list of imported crates
  --> /Users/niklas/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_ast-0.101.0/src/class.rs:19:1
   |
19 | #[ast_node]
   | ^^^^^^^^^^^ could not find `serde` in the list of imported crates
   |
   = note: this error originates in the attribute macro `ast_node` (in Nightly builds, run with -Z macro-backtrace for more info)
@kdy1 kdy1 added this to the Planned milestone Mar 27, 2023
@kdy1
Copy link
Member

kdy1 commented Mar 27, 2023

Oh bump script did something wrong. ast_node should be published as a breaking change, so swc_common cannot be x.x.non-0...

@kdy1
Copy link
Member

kdy1 commented Mar 27, 2023

Oops I did ast_macro --breaking at #7138 (review)

#7109 will fix this

@kdy1 kdy1 self-assigned this Mar 27, 2023
@kdy1
Copy link
Member

kdy1 commented Mar 27, 2023

This should be fixed by swc_core = "0.71.0"

@kdy1 kdy1 closed this as completed Mar 27, 2023
@kdy1 kdy1 modified the milestones: Planned, v1.3.43, v1.3.44 Mar 29, 2023
@swc-bot
Copy link
Collaborator

swc-bot commented Apr 29, 2023

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@swc-project swc-project locked as resolved and limited conversation to collaborators Apr 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants