Skip to content

[Bug]: pnpm install @zitadel/client fails (package is not installable outside this monorepo) #524

@originswift-sys

Description

@originswift-sys

Preflight Checklist

  • I could not find a solution in the documentation, the existing issues or discussions
  • I have joined the ZITADEL chat

Version

1.2.1-sha-220f335

Describe the problem caused by this bug

pnpm install @zitadel/client:

ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In ../..: "@zitadel/proto@workspace:*" is in the dependencies but no package named "@zitadel/proto" is present in the workspace

This error happened while installing the dependencies of @zitadel/[email protected]

To reproduce

Try installing the @zitadel/client package anywhere outside the zitadel/typescript monorepo

Screenshots

No response

Expected behavior

No response

Relevant Configuration

No response

Additional Context

Looking at the bundled package.json's deps, the reason is that "workspace:*" isn't transformed to published versions of the @zitadel/* packages: https://www.npmjs.com/package/@zitadel/client?activeTab=code

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdevops

Type

No type

Projects

Status

📋 Sprint Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions