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

Got Cannot find module '@swc/core' error with v8.1.1 #1157

Closed
ntnyq opened this issue Jul 17, 2024 · 6 comments
Closed

Got Cannot find module '@swc/core' error with v8.1.1 #1157

ntnyq opened this issue Jul 17, 2024 · 6 comments
Labels

Comments

@ntnyq
Copy link

ntnyq commented Jul 17, 2024

Reproduction

Workaround:

  1. Add @swc/core as a dev dependencies mannually.
  2. Keep still in version <=8.1.0 for now.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@ntnyq
Copy link
Author

ntnyq commented Jul 17, 2024

There has already had a PR #1156 about it.

ArcherGu added a commit to ArcherGu/npm-upstream-check that referenced this issue Jul 17, 2024
@ArcherGu
Copy link
Contributor

same error, I have to add @swc/core to my devDependencies

0t4u added a commit to shipgirlproject/Shoukaku that referenced this issue Jul 17, 2024
@schtauffen
Copy link

I downgraded to 8.1.0 for now

@hugocxl
Copy link

hugocxl commented Jul 17, 2024

A hotfix should be deployed as soon as possible as it breaks most existing build processes using tsup

Copy link

🎉 This issue has been resolved in version 8.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sxzz
Copy link
Collaborator

sxzz commented Jul 17, 2024

Try tsup@8.1.2 & should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment