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

imodels-client-authoring: Cannot find module 'reflect-metadata' #276

Open
paulius-valiunas opened this issue Aug 22, 2024 · 0 comments
Open

Comments

@paulius-valiunas
Copy link

paulius-valiunas commented Aug 22, 2024

This client seems to depend on reflect-metadata, but that's not mentioned in its package.json. This means the client doesn't work in pnpm workspaces without a patch:

  "pnpm": {
    "packageExtensions": {
      "@itwin/imodels-client-authoring@^5.8.1": {
        "peerDependencies": {
          "reflect-metadata": "^0.1.14"
        }
      }
    }
  }

Alternatively, maybe these clients could migrate to the "official" stage 3 decorators that were added in Typescript 5.0: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators

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

1 participant