-
Notifications
You must be signed in to change notification settings - Fork 27
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
Recent update may have missing type definition? v2.1.3 #39
Comments
are you sure is 2.1.3? I added this today, https://github.com/jfromaniello/express-unless/blob/master/package.json#L18 but I just tried in a new project and works as expected |
Yup, trying to track it down. We have a combination of things using "express-jwt" version ^7 and they appear to have deployed a new version (7.7.7) that bumped the dependency version for "express-unless" to version "2.1.3". After that bump things started failing. We also just package updated on a project that has "express-jwt" version 6 and we are experiencing the same issue. |
just in case, make sure you don't have Otherwise if you could give me a simple repro that will be great |
Can confirm we're running into the same thing -- builds failing with Looks like
|
In case this helps anyone else, bumping |
Having the same error with a previous version of |
running into the same issue. I worked around this by using an older versions of express-unless and @types/express-unless to my package.json. |
I think the problem is a combination of this scenario. First the
NOTE: the wildcard And that DefinitlyTyped gets updated automatically and since yesterday I added the types, a bot deprecated the package. It created a new version of Possible solutionsOne option is to update Anotion option is, if you are on newer versions of npm, you could add this to your package.json:
It works in the repro repository of @sebiglesias . Unfortunately I can't release definititly-typed packages. |
Same thing here... I am trying to migrate on a tight schedule, and can't compile right now. jwks-rsa is at 2.1.5 |
I'll add more details as they come in, but we just tried deploying a recent version of express-jwt which includes this module. Starting about 2hrs the build process started failing.
error TS2688: Cannot find type definition file for 'express-unless'.
The file is in the program because:
Entry point for implicit type library 'express-unless'
The text was updated successfully, but these errors were encountered: