Skip to content

Module not found: Can't resolve 'jose/jwt/sign' #193

Closed
@qikevinjkw

Description

@qikevinjkw

Describe the bug

To Reproduce

  1. npm install jose
  2. Try to import like so: import { SignJWT } from "jose/jwt/sign";
  3. Typescript compiler errors: Module not found: Can't resolve 'jose/jwt/sign'

Code to reproduce the behaviour: https://stackblitz.com/edit/react-ts-kkyw3y

Expected behaviour
Should import correctly with no errors

Environment:

  • jose version: v3.11.6
  • affected runtime is: Node.js 14.15.0
  • other relevant library versions: [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions