How do you debug a problem when yarn dev just exits?

I've got a bug where when I run yarn dev, it exists without printing anything useful: (base) james@MacBook-Pro ~/workspace/ts/packages/cardstacker (ts)$ yarn dev 🟣 Plasmo v0.86.1 πŸ”΄ The Browser Extension Framework πŸ”΅ INFO | Starting the extension development server... πŸ”΅ INFO | Loaded environment variables from: [] (base) james@MacBook-Pro ~/workspace/ts/packages/cardstacker (ts)$ yarn build also reports no errors, but no files are produced: (base) james@MacBook-Pro ~/workspace/ts/packages/cardstacker (ts)$ ls build/chrome-mv3-prod/ (base) james@MacBook-Pro ~/workspace/ts/packages/cardstacker (ts)$ Suggestions for how to tell plasmo I need something to tell me where the issue is? yarn dev --verbose is also useless as far as I can tell.
Sam
Samβ€’16d ago
Have you tried pnpm? The docs strongly suggset using it. I find yarn to be a funny thing. Which version are you using? The Yarn 1.x version might have some issues. The 1.x branch of Yarn has been in maintenance mode since early 2020. https://endoflife.date/yarn
banshee
bansheeβ€’15d ago
$ yarn --version 3.3.1 I've got too many pieces using yarn; switching to pnpm just for plasmo sounds like serious pain Definitely no one should be using yarn 1, that's extremely ancient I did finally get it working, but it was pretty much just hacking around; I had a dependency that seemed just fine, but removing it got rid of the problem.
Sam
Samβ€’15d ago
heh you say no one shoudl be using Yarn 1, but I've seen it happen way too often.
Arcane
Arcaneβ€’15d ago
@Sam has reached level 6. GG!
Sam
Samβ€’15d ago
Yeah sorry I wasn't trying to tell you to switch to pnpm. Just following the docs and my experience. What was the dependency? I'm kind of curious.
Want results from more Discord servers?
Add your server
More Posts
just out of curiosity, where does the storage live?why does it work? i cannot find any cookie or localstorage where the keys i setup from plasmo are, iSend data from content script or popup to main content script.I want to manipulate some dom items on the main world, how do I send a message from my popup or my oLoading a content script on a specific tabHowdy folks, I'm wanting to explicitly load a content script on a specific tab, so it doesn't interfanyone using authjs with plasmoIf yes, how did you go about this?Help: chrome.scripting.executeScript executes only onceHey guys, I need help with the below code. I have created a popup with a button that calls the belowWeb Workerhey im working with a web worker and it seems to be huge in dev but much smaller in the prod build. Certainly! To bundle a resource withCertainly! To bundle a resource with Plasmo, you can utilize tools like Webpack or Parcel to packageIntegrating Web Authentication with Plasmo ExtensionI'm new to Plasmo and currently working on creating a Vue extension. My web application utilizes CleUsing Stripe and setup an API inside the extensionHello ! I am able to make queries to stripe using what was explained on the website : https://docError with messagingHey, im trying to send a message from a content script in the main world to the background. For thatIssue with using Radix Components with extension and framework```ts Warning: Invalid hook call. Hooks can only be called inside of the body of a function componenHey all. Anyone know how to inject styles as a .css file to some webpage?im rewriting some extension since we are going to mv3, also i decieded to use Plasmo framework for tHow to inject React component on page?Hi I want to render an icon next to a div on the webpage and when that icon is clicked I want to renremount csui on url changei have built an extension using plasmo which injects some ui into the dom using getRootContainer thelocal storage dev tools plasmoHi all, I am trying to locate the storage api data. I am aware the data is stored in chrome.storageIs there something special you need to do to get a side panel to refresh on changes?Is there something special you need to do to get a side panel to refresh on changes? If I load and plasmo build --zip vs web-ext buildWhat's the difference? https://extensionworkshop.com/documentation/develop/web-ext-command-referenceUsing microphone in sidepanelHello, I am using Plasmo to build our extension. I was able to record microphone using a content scrFloating-ui with plasmo?Anyone managed to use floating-ui with Plasmo? I have been trying to inject a floating modal that caExtension rejected by Google due to RHC violation in Firebase AuthWe have been building an extension which uses Firebase ecosystem. Recently we tried submitting the e