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] WARN | Unable to find any entry files. The extension might be empty #989

Open
3 tasks done
TommyWongDev opened this issue Jun 3, 2024 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working

Comments

@TommyWongDev
Copy link

What happened?

I have encountered this bug for a couple of time already. the project works well originally even for a new created project without any new code aded on it, but everytime when the plasmo server idled for a while of time (like 45mins to 1hr), this warn
ing appear when I reload the webpage. Plasmo become unclickable and nothing works even for the default popup.tsx. I have to delete the project and start a new project everytime. May i know is there any solution to solve this? Thanks.
Screenshot 2024-06-03 at 14 03 39

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

Chrome

Relevant log output

Plasmo v0.86.3
🔴 The Browser Extension Framework
🔵 INFO   | Starting the extension development server...
🟠 WARN   | Unable to find any entry files. The extension might be empty
🔵 INFO   | Loaded environment variables from: []

(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.
@TommyWongDev TommyWongDev added the bug Something isn't working label Jun 3, 2024
@andymitchell
Copy link

Hi Tommy,

I had the same issue, and tried recreating the project from scratch several times to try to isolate it.

In the end, it's because I had a src directory in the root of my Plasmo directory. By simply renaming this to anything else (even just src-another), it worked.

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