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

Compile fail CryptoKey #126

Closed
giovanni9793 opened this issue Dec 11, 2020 · 2 comments
Closed

Compile fail CryptoKey #126

giovanni9793 opened this issue Dec 11, 2020 · 2 comments

Comments

@giovanni9793
Copy link

I don't know if the problem was a bug or me doing something wrong.
When I try to build my package, something go wrong.

yarn run v1.22.5
$ rm -rf ./dist/* && mkdir -p ./dist && tsc
node_modules/jose/dist/types/types.d.ts:92:35 - error TS2304: Cannot find name 'CryptoKey'.

92 export type KeyLike = KeyObject | CryptoKey | Uint8Array
                                     ~~~~~~~~~


Found 1 error.

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The terminal process "/bin/bash '-c', 'yarn run build'" terminated with exit code: 2.

Node 14, same error on docker.

@giovanni9793 giovanni9793 added the question Further information is requested label Dec 11, 2020
@giovanni9793 giovanni9793 changed the title Compile fail Compile fail CryptoKey Dec 11, 2020
@panva

This comment has been minimized.

@panva panva closed this as completed Dec 11, 2020
@panva panva added the tooling issue A tooling issue outside of the library, e.g. transpilers, bundlers, etc not supporting exports yet label Dec 11, 2020
@panva
Copy link
Owner

panva commented Dec 14, 2020

Not sure if it helped but i've referenced the dom lib explicitly now in v3.3.2

@panva panva removed tooling issue A tooling issue outside of the library, e.g. transpilers, bundlers, etc not supporting exports yet question Further information is requested labels Dec 14, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Mar 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants