You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into this error after cloning the projects and trying to run cargo build
For context, I had previously cloned the repo and successfully ran cargo build with no issues.
I also installed @swc/core and @swc/cli via npm globally if this matters at all
After removing the swc repo, cloning it once more and then running cargo build I was met with the following error
error: failed to select a version for the requirement swc = "^0.284.0"
I've tried cargo clean, cargo update, updating my rust version via rustup update stable and removing Cargo.lock and trying cargo build once more
None of this worked.
Also tried to check out a previous commit and tried again
Still no luck.
Does anyone have any idea as to why this is happening?
Input code
No response
Config
No response
Playground link (or link to the minimal reproduction)
Describe the bug
I'm running into this error after cloning the projects and trying to run cargo build
For context, I had previously cloned the repo and successfully ran cargo build with no issues.
I also installed @swc/core and @swc/cli via npm globally if this matters at all
After removing the swc repo, cloning it once more and then running cargo build I was met with the following error
error: failed to select a version for the requirement
swc = "^0.284.0"
I've tried cargo clean, cargo update, updating my rust version via rustup update stable and removing Cargo.lock and trying cargo build once more
None of this worked.
Also tried to check out a previous commit and tried again
Still no luck.
Does anyone have any idea as to why this is happening?
Input code
No response
Config
No response
Playground link (or link to the minimal reproduction)
https://play.swc.rs/
SWC Info output
Expected behavior
Expected it to build properly
Actual behavior
No response
Version
1.7.11
Additional context
No response
The text was updated successfully, but these errors were encountered: