'@poppinss/oauth-client' does not provide an export named 'Oauth1Client'
tom-brulin opened this issue · 2 comments
tom-brulin commented
Package version
"@adonisjs/core": "^6.1.5-26",
"@adonisjs/ally": "^5.0.0-4"
Node.js and npm version
v20.7.0 (npm v10.1.0)
Explaination
After installing ally package I have this error
SyntaxError: The requested module '@poppinss/oauth-client' does not provide an export named 'Oauth1Client'
at ... /node_modules/ adonisjs/ally/build/src/abstract_drivers/oauth1.js:10
thetutlage commented
Yup, comes from here. https://github.com/poppinss/oauth-client/releases/tag/v5.1.0-4
The latest release of ally will fix it. However, do note the value of token.expiresAt
will no longer be a luxon DateTime instance. It is a regular JavaScript Date object.
thetutlage commented
Feel free to re-open the issue, if the issue persists