auth0 / express-jwt

connect/express middleware that validates a JsonWebToken (JWT) and set the req.user with the attributes
MIT License
4.49k stars 444 forks source link

Installation via PNPM is not working #326

Closed krichards closed 1 year ago

krichards commented 1 year ago

Description

When trying to install the express-jwt library using pnpm it appears to drop the dist folder.

Reproduction

pnpm i express-jwt

ls node_modules/express-jwt

The dist folder is missing. I believe the problem is with the files: '/dist' in the package.json. The '/dist' should be either 'dist' or './dist'.

Environment

krichards commented 1 year ago

Seems like it was a red-herring, something related to pnpm workspace having invalid cached state