Skip to content
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

turbo/pnpm/lerna does not understand workspace protocol #546

Closed
brentertz opened this issue Jan 11, 2022 · 5 comments
Closed

turbo/pnpm/lerna does not understand workspace protocol #546

brentertz opened this issue Jan 11, 2022 · 5 comments

Comments

@brentertz
Copy link

What version of Turborepo are you using?

1.0.25

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Mac

Describe the Bug

Error when running lerna command using pnpm in turborepo that uses workspace protocol. workspace:*

➜ turbo-test git:(master) ✗ pnpm lerna bootstrap
lerna notice cli v4.0.0
lerna info versioning independent
lerna ERR! Error: Unsupported URL Type "workspace:": workspace:*

Expected Behavior

tl;dr you can use Lerna and Turbo together.

From https://turborepo.org/docs/guides/migrate-from-lerna

I expected this to work, since the documentation says that the tools work together.

To Reproduce

Add lerna to a turborepo that uses pnpm. Try to run a lerna command, like pnpm lerna bootstrap.

@fivethreeo
Copy link

fivethreeo commented Jan 11, 2022

This is a lerna issue, not turbo/pnpm.

Consider using changesets.

@brentertz
Copy link
Author

Perhaps, but the turborepo documentation clearly states that you can use the tools together. If this is not the case, then it should likely be noted.

@fivethreeo
Copy link

fivethreeo commented Jan 11, 2022

The issue is pnpm and lerna, turbo works with lerna. Not sure if it is up to turbo to mention this.

@brentertz
Copy link
Author

Okay, thanks...

@weyert
Copy link
Contributor

weyert commented Jan 31, 2022

Workspace protocol works fine with Pnpm. Got to be a Prisma issue

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

No branches or pull requests

3 participants