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

bun v1.1.10 [maybe Windows?] cannot install packages with @swc/types #11413

Closed
cpakken opened this issue May 28, 2024 · 2 comments
Closed

bun v1.1.10 [maybe Windows?] cannot install packages with @swc/types #11413

cpakken opened this issue May 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cpakken
Copy link

cpakken commented May 28, 2024

What version of Bun is running?

1.1.10+5102a9443

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

Clean bun install bun init

bun a @vitejs/plugin-react-swc
or
bun a @esbuild-plugin-swc-minify
or
Anything dependent on swc/types https://www.npmjs.com/package/@swc/types?activeTab=dependents

I tried bun i after upgrading bun from 1.1.8 to 1.1.10 and I can't install @vitejs/plugin-react-swc like before. I suspect its the changes made to workspace installs.

image

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

@cpakken cpakken added the bug Something isn't working label May 28, 2024
@cckn
Copy link

cckn commented May 28, 2024

This issue occurs with @swc/core version 1.5.11. To resolve this issue:

  1. Install @swc/core version 1.5.7:
burn install @swc/core@1.5.7
  1. If @swc/core is already installed, fix it to version 1.5.7. Remove any caret (^) if present.
"dependencies": {
  "@swc/core": "1.5.7"
}

For more details, refer to the swc-project/swc#8988

@cpakken
Copy link
Author

cpakken commented May 28, 2024

I see, so not a bun issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants