Skip to content

Conversation

@adelin-b
Copy link

Hi, I like the concept of this repo and I wanted to add a web extension using https://www.plasmo.com , got the main code from https://github.com/t3-oss/create-t3-turbo/tree/chrome/apps/chrome and currently trying to assemble it with this repo.
So I open this draft pr and I can update the progress.

Goal:

Adding another app for web-extension https://www.plasmo.com

TODO

  • import components from @my/ui
    currently broken with this error, I never used tamagui so I might need help on this one. Removing the shared component works fine.
 web-ext:dev: 🔴 ERROR  | Build failed. To debug, run plasmo dev --verbose.
web-ext:dev: 🔴 ERROR  | Expected 'from', got 'typeof'
nextjs:dev: event - compiled client and server successfully in 2.5s (1748 modules)
web-ext:dev: /home/adelinb/Documents/Projects/CUA/node_modules/@tamagui/static/dist/cjs/extractor/loadTamagui.js:264
web-ext:dev:   const context = await import_esbuild.default.context({
web-ext:dev:                                                ^
web-ext:dev:
web-ext:dev: TypeError: import_esbuild.default.context is not a function
web-ext:dev:     at esbuildWatchFiles (/home/adelinb/Documents/Projects/CUA/node_modules/@tamagui/static/dist/cjs/extractor/loadTamagui.js:264:48)
web-ext:dev:     at watchTamaguiConfig (/home/adelinb/Documents/Projects/CUA/node_modules/@tamagui/static/dist/cjs/extractor/loadTamagui.js:237:38)
web-ext:dev:
web-ext:dev: Node.js v18.16.1
web-ext:dev: 🔴 ERROR  | Build failed. To debug, run plasmo dev --verbose.
web-ext:dev: 🔴 ERROR  | Expected 'from', got 'typeof'
  • correct env variables
  • add flow to open the webext using mozilla web-etx packages
  • dedup config files once everything works

@vercel
Copy link

vercel bot commented Jul 31, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @chen-rn on Vercel.

@chen-rn first needs to authorize it.

@adelin-b adelin-b marked this pull request as draft July 31, 2023 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant