axios-jwt icon indicating copy to clipboard operation
axios-jwt copied to clipboard

Uncaught TypeError: (0 , ms_1.default) is not a function

Open slushpuppy opened this issue 2 years ago • 6 comments

Appears I am missing the "ms" dependency, installing it doesn't resolve the issue however

Uncaught TypeError: (0 , ms_1.default) is not a function at authTokenInterceptor (authTokenInterceptor. ts:178:1) at app lyAuthTokenInterceptor (applyAuthTokenInterceptor.ts:16:1) at ./src/api/auth.ts (auth.ts:43:1

slushpuppy avatar Mar 20 '23 11:03 slushpuppy

Same for me, I saw some fixes here https://github.com/vercel/ms/issues/186#issuecomment-1259526771 but nothing works.

Switching to 3.0.0-canary.1 does not work as well

Edit: Right, seems like version 3.0.0 from npm works so I believe the problem is in this PR https://github.com/jetbridge/axios-jwt/commit/14d6abcc726718ec24a3ed1119acdff7b86fe125

tekyu avatar Mar 21 '23 15:03 tekyu

+1

lien-dkseo avatar May 09 '23 07:05 lien-dkseo

+1 as well.

renderbox avatar Jun 01 '23 18:06 renderbox

+1

Canoir avatar Jun 03 '23 12:06 Canoir

+1 npm install --save [email protected] works for now.

DevWebcorp avatar Jun 06 '23 21:06 DevWebcorp

+1

danilmakarow avatar Feb 01 '24 15:02 danilmakarow