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

error types from oidc/validate.ts when build in the local using pnpm #4470

Closed
docd-dev opened this issue Oct 24, 2024 · 3 comments
Closed

error types from oidc/validate.ts when build in the local using pnpm #4470

docd-dev opened this issue Oct 24, 2024 · 3 comments
Labels

Comments

@docd-dev
Copy link

i found a error when im build in local with pnpm, actually when first time build, its have error from tsconfig,json and already resolve, but this error, i cant resolve, help me
image

because i need upload this to the server, and i know when build on the server its gonna error too

@dosubot dosubot bot added the T-Defect label Oct 24, 2024
@t3chguy
Copy link
Member

t3chguy commented Oct 24, 2024

Seems like your build isn't including the package's own @types typeroot, your tsconfig likely needs amending. https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/%40types/oidc-client-ts.d.ts#L22

This is a bug tracker not a support forum, I suggest #matrix-dev:matrix.org

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
@docd-dev
Copy link
Author

Seems like your build isn't including the package's own @types typeroot, your tsconfig likely needs amending. https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/%40types/oidc-client-ts.d.ts#L22

This is a bug tracker not a support forum, I suggest #matrix-dev:matrix.org

but when im install using yarn, its have same error ? im running on nextjs 14 @t3chguy

@t3chguy
Copy link
Member

t3chguy commented Oct 25, 2024

yarn vs pnpm has nothing to do with your tsconfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants