-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[bug]: EUNSUPPORTEDPROTOCOL while trying to create monorepo #6193
Comments
Same problem here on WSL on Windows 11 and MacOS too. |
As a workaround, you can check my own Turborepo with shadcn as a package https://github.com/PedroMarianoAlmeida/offical-turbo-v1/tree/main/packages/react/shadcn I start with this example (https://github.com/vercel/turborepo/tree/main/examples/with-tailwind) and then start working on that |
Using pnpm solved this issue for me. |
despite the documentation showing the scripts for init for npm, pnpm, bun, etc... clearly the only one they tested was pnpm. I think we have to just dump contents of the example folder into your new project, delete the pnpm stuff, add the workspaces to the package.json, etc. |
Same |
I faced this issue while i was on [email protected] (if I'm not mistaken, does not support workspace). Using [email protected] solves the issue |
Describe the bug
While creating a new monorepo project, it throws below error:
Affected component/components
Project creation
How to reproduce
npx shadcn@canary init
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: