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

[BUG] Cannot find module xxx in background script when running the pnpm built package #1112

Open
2 of 3 tasks
KingWu opened this issue Oct 19, 2024 · 1 comment
Open
2 of 3 tasks
Labels
bug Something isn't working

Comments

@KingWu
Copy link

KingWu commented Oct 19, 2024

What happened?

Plasmo version: 0.89.3
node version: 20.3.1

i import 3rd party library in the background script.
after run pnpm build, load the package.

Will have error "Cannot find module xxx"

Version

Latest

What OS are you seeing the problem on?

No response

What browsers are you seeing the problem on?

No response

Relevant log output

No response

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@KingWu KingWu added the bug Something isn't working label Oct 19, 2024
@HansBhatia
Copy link

hey, did you figure this out yet - I have a similar problem within the content scripts...

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