Hey Pallas 2819 and lab

Hey @Pallas and @louisgv , Sorry to ping but I've had this issue for days.
> plasmo dev

🟣 Plasmo v0.82.3
πŸ”΄ The Browser Extension Framework
πŸ”΅ INFO | Starting the extension development server...
πŸ”΅ INFO | Loaded environment variables from: []
[1] 3820 segmentation fault pnpm run dev
> plasmo dev

🟣 Plasmo v0.82.3
πŸ”΄ The Browser Extension Framework
πŸ”΅ INFO | Starting the extension development server...
πŸ”΅ INFO | Loaded environment variables from: []
[1] 3820 segmentation fault pnpm run dev
Please do you have any idea what could be going wrong?
ObinnaAka
ObinnaAkaβ€’255d ago
It only seems to happen when I have either a "contents" folder or a "tabs" folder. I'm running in a pnpm typescript monorepo For anyone that comes looking, I couldn't pinpoint the exact issue. I am running a monorepo with pnpm and I am importing components and functions from a "common" folder between my website and extension. I fixed it by starting from scratch and moving over the components one by one, Another thing that helped was building the "common" before importing it. So I import common from the dist/* folder instead, and update my tsconfig to match
lab
labβ€’255d ago
hmm very weird :d... - can you try the latest one (0.82.5) - there's some dependency that I bumped that might have caused some regression (parcel-watcher is one). 0.82.5 bumped them down. seg fault generally means that there's likely a circular dependency somewhere so building out the common module and import it works well bc the independent bundler likely doesn't have to resolve the circular graph (My hunch :d...)
ObinnaAka
ObinnaAkaβ€’254d ago
Ah I see, thank you very much!. I did try out 0.82.5 yesterday but still couldn't get it to work. Luckily, I've been able to port over most of the code with a fresh start anyway, so it isn't too bad. If I run into the problem again though, I'll post my finding here
Want results from more Discord servers?
Add your server
More Posts
How do I get firebase auth in a content script?I have authentication working in popup.tsx. But I need the user details in content.ts so I can scrapDynamic Roots and all querieshi, im developing this extension that adds an emoji to the textbox in youtube textboxes, the problemHow do I make a CSUI container fill the anchor's width and height?Working on my first browser extension and ran into this issue - I want to have the CSUI container fiHow does sidePanel works?Hi, is there some information how sidePanel works? I know that there is an example but it works "magTrigger command after dev rebuildIs there any way to hook into the *Extension re-packaged* event? I'm porting an extension to Safari XMLHttpRequestshello, I need to use a library to interact with the google sheet api, and it uses axios that uses XMStyling not applying on content.tsx with-styled-components exampleI am trying to setup my plasmo project with styled-components and the styling seems to work on the pextension submission workflow failureHello , when i trigger a workflow on github to submit my extension to selected browsers, it fails anSupabase host permissionsHey all! I'm following the guide to add Supaabase to my extension: https://docs.plasmo.com/quickstaApi requests not sending in Firefoxi've built this extension, there are a lot of api requests, these are working in chrome smoothly, whIs there an example on how to send a message from service worker when chrome.alarms event triggersI have a service worker / background script that has the `chrome.alarms.create()` code followed by `How to use plasmo with a side panel?I was previously using the tabs folder workaround, but it seems that @lab has added proper support fParcel-bundler issueshttps://github.com/parcel-bundler/parcel/issues/5557 I'm pretty sure I'm running into some error lik[EXP] How to display a component below or above a text selectionreposting a question from issues on GH because because seen few people need examples on how this couDoes Plasmo content ui support raw html without injecting react runtime?Hi, I am creating an extension which has a lot of content user interface being injected in every pagTargeting Firefox MV2 instead of Chrome MV3 by defaultHey everyone, I was wondering how I could configure plasmo so it targets firefox manifest v2 instead