plasmo icon indicating copy to clipboard operation
plasmo copied to clipboard

[BUG] Cannot Open Plasmo + Next.js Chrome Extension App in Chrome Side Panel

Open azurespheredev opened this issue 1 year ago • 2 comments

What happened?

A bug happenedI'm currently developing a chrome extension using Plasmo, I actually created it from PlasmoHQ - with-sidepanel boilerplate.

However, the boilerplate is not opened in chrome side panel, like Copyleaks Chrome Extension. There is no any effects when I try to click the extension icon which is in the top right side of my Google Chrome.

And I'm also getting WebSocket connection errors when I inspect my chrome extension package. WebSocket Connection Error Screenshot

Please take a look at package.json file here.

{
  "name": "with-sidepanel",
  "displayName": "With sidepanel",
  "version": "0.0.1",
  "description": "Using side-panel API in an extension",
  "author": "Plasmo Corp. <[email protected]>",
  "scripts": {
    "dev": "plasmo dev",
    "build": "plasmo build",
    "package": "plasmo package"
  },
  "dependencies": {
    "plasmo": "^0.89.4",
    "react": "18.2.0",
    "react-dom": "18.2.0"
  },
  "devDependencies": {
    "@ianvs/prettier-plugin-sort-imports": "4.1.1",
    "@types/chrome": "0.0.258",
    "@types/node": "20.11.5",
    "@types/react": "18.2.48",
    "@types/react-dom": "18.2.18",
    "prettier": "3.2.4",
    "typescript": "5.3.3"
  },
  "manifest": {
    "host_permissions": [
      "https://*/*"
    ]
  },
  "contributors": [
    "louisgv"
  ]
}

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

  • [ ] I would like to fix this BUG via a PR

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct
  • [X] I checked the current issues for duplicate problems.

azurespheredev avatar Nov 10 '24 11:11 azurespheredev

Hi, did you find a solution? BTW Are you programming on WSL2?

H7ioo avatar Feb 06 '25 19:02 H7ioo

No, I didn't. I don't work on WSL2.

sender notified by Mail Track for Gmail https://www.mailtrack.email/?utm_source=watermark&utm_medium=email https://www.mailtrack.email/?utm_source=watermark&utm_medium=email [image: ft34ddz98tt-3a262891ee71a317]

On Thu, Feb 6, 2025 at 2:49 PM Omar_7ioo @.***> wrote:

Hi, did you find a solution? BTW Are you programming on WSL2?

— Reply to this email directly, view it on GitHub https://github.com/PlasmoHQ/plasmo/issues/1130#issuecomment-2640846003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4JM2REGBCK7NJGEO4GF232OO4F3AVCNFSM6AAAAABRQDWFV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBQHA2DMMBQGM . You are receiving this because you authored the thread.Message ID: @.***>

-- Best Regards, Dustin (Daniel) Lee Senior Software Engineer

Email: @.*** Phone: 737.316.6767 <+17373166767> LinkedIn: https://www.linkedin.com/in/azuresphere Calendly: https://calendly.com/dustin-jason-lee/30mins

azurespheredev avatar Feb 06 '25 20:02 azurespheredev