-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Unable to add integrations in pnpm turborepo #8487
Comments
Have you tried to install the dependencies when running create astro? Is there a reason why you decided not to do so? This may be a legitimate error because |
I'm sorry, I do not quite follow. So I first create the app with |
Looking at the prompt that you pasted, you didn't install the dependencies:
And I think this is the issue. Just a guess. |
Hi @ematipico unfortunately the same happens regardless of the choice in the
|
I use verdaccio (local npm registry) and pnpm and it fails for me too. pnpm astro add tailwind
> [email protected] astro /home/millette/travail/waglo
> astro "add" "tailwind"
✖ @astrojs/tailwind doesn't appear to be an integration or an adapter.
Find our official integrations at https://astro.build/integrations
ELIFECYCLE Command failed with exit code 1. Same error for all integrations I try adding. |
Hi, same ERR_PNPM_INCLUDED_DEPS_CONFLICT error installing react integration through "pnpm astro add react", though I'm not using turborepo in my monorepo. |
Facing same issue on a simple pnpm monorepo |
Actually, my problems appears whether I use pnpm or npm and boils down to registry auth. In my case, I had configured my verdaccio proxy registry to use username/password on localhost but that info isn't passed automatically to npm or pnpm. |
I've had this issue as well for the last couple of months. I've recently updated node (v21.2.0), pnpm (8.10.5), and running the lastest version of astro (3.5.4). Did not have an issue this time around, I also added the latest @turbo/gen as a devDependency to the package.json of turborepo, something like this: "scripts": { Hope this helps! |
I updated the repro to Astro 4 and it seems to work now. Going to close this as fixed |
It works for me too with verdaccio and pnpm, thanks! |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
pnpm dlx create-turbo@latest
pnpm create astro@latest
cd apps/web
What's the expected result?
Should be able to install integrations in turborepo app using pnpm
Link to Minimal Reproducible Example
https://github.com/atanaskanchev/astro-integrations-turborepo-pnpm.git
Participation
The text was updated successfully, but these errors were encountered: