SWC not resolving

Realized I should have probably put this here. I had been using CRXjs, but recent chrome updates have made that extension framework unusable. Working on learning plasmo so I can convert my project to it. Trying to setup a basic options page example following the with-options example. When I run plasmo dev, I get the following:
🟣 Plasmo v0.89.3
πŸ”΄ The Browser Extension Framework
πŸ”΅ INFO | Starting the extension development server...
πŸ”΅ INFO | Building for target: chrome-mv3
πŸ”΅ INFO | Loaded environment variables from: []
πŸ”΄ ERROR | Build failed. To debug, run plasmo dev --verbose.
πŸ”΄ ERROR | Could not resolve module "@swc/types" from "E:\\Git\\Sigil\\1\_Tools\\sigil-roll20-conversion-suite\\withplasmo\\node\_modules\\@plasmohq\\parcel-optimizer-es\\node\_modules\\@swc\\core\\index.js"
🟣 Plasmo v0.89.3
πŸ”΄ The Browser Extension Framework
πŸ”΅ INFO | Starting the extension development server...
πŸ”΅ INFO | Building for target: chrome-mv3
πŸ”΅ INFO | Loaded environment variables from: []
πŸ”΄ ERROR | Build failed. To debug, run plasmo dev --verbose.
πŸ”΄ ERROR | Could not resolve module "@swc/types" from "E:\\Git\\Sigil\\1\_Tools\\sigil-roll20-conversion-suite\\withplasmo\\node\_modules\\@plasmohq\\parcel-optimizer-es\\node\_modules\\@swc\\core\\index.js"
What is causing swc to not resolve correctly?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server