-
Notifications
You must be signed in to change notification settings - Fork 185
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
"module wxt not found" in GitHub Actions during yarn install #1058
Comments
Hmm, yeah, looks like yarn 4.5 just doesn't work with the latest version. yarn With
Without it:
Didn't get your exact error, but things obviously don't work. I don't know enough about yarn berry, but you could try using it in |
Hello, I've tried pnpm as well as pnp modes. pnpm fails with an obsucre linking issue regarding the shiki package while the pnp issue now shifts the problem to the nuxt package |
So I've tried migrating to pnpm, but this introduced some other problems. Besides that I've tried to get the root node_modules/. bin into the PATH, but there seems to be no clear approach either, as it needs to work on my windows machine and in CI as well. I've added a .bashrc file into my project, but I believe this has no effect on windows, depending on the terminal. Might work in Git bash, but Nx/Node launches CMD and there the problem occurs. So I've added the absolute path to my projects node_modules/.bin to my Windows Environment Variables. Feels totally wrong but at least it works now, and luckily I'm not having to do that for several projects but just this one monorepo. With Nuxt I seem to indeed have the same issue, but I'm installing it globally in CI as I to not want to prefix every single script call in every package.json Now I've given up and just use npx in that case and it works :) |
Unable to install packages
|
Describe the bug
So my overall setup is Nx, Yarn Berry 4.5.0 and GitHub Actions for CI.
I've installed wxt and @wxt-dev/vue locally, as dev dependencies and on my PC everything works as expected.
In the CI however the yarn install command fails with
My first idea was to expose the contents of
node_modules/.bin
as ENV variables withBut this doesn't make sense, as it fails during the install command and this would only run afterwards.
I guess it's mainly the prepare command that is called during install and immediately fails.
I've tried to install wxt globally as a backup solution, leading to another error
Not sure if this is related to Yarn, but I'd appreciate any help.
Reproduction
Not easily reproducible
Steps to reproduce
No response
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: