-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wtx submit init
not finding publish-browser-extension
#479
Comments
Yeah, I can reproduce this, but I can't figure out why it's failing. Something to do with the binary PNPM is creating, it's pointing at the wrong directory to lookup the JS file... My current setup is just to add Also, this also breaks I think I'll lookup the executable path and execute it directly rather than manipulating the |
Hmm, OK, so same error if I run the binaries directly without modifying the path... I think I'll have to go with the route of asking you to install the package if it can't be found, similar to vitest when you run the coverage command for the first time asking to install the coverage module. |
I wonder what broke.... This used to work, but now it doesn't? Maybe PNPM has updated... Hmm. Either way, asking to install will work, and is the most future-proof I think. |
Hmm, yeah, still can't find a way to figure this out. For now, a workaround: pnpm i publish-browser-extension
pnpm publish-extension init
|
Works great, thank you! |
Describe the bug
I'm trying to invoke
wtx submit init
but it's not working - it seems to be looking forpublish-browser-extension
in the wrong place?I started with the React template if that's useful. I can try to create a repro if this is not something common (my first time with wtx and chrome extensions/typescript/etc.). Let me know if I can provide any other info.
Environment
The text was updated successfully, but these errors were encountered: