Skip to content
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

'@poppinss/oauth-client' does not provide an export named 'Oauth1Client' #145

Closed
tom-brulin opened this issue Sep 27, 2023 · 2 comments
Closed
Assignees

Comments

@tom-brulin
Copy link

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 thetutlage self-assigned this Sep 27, 2023
@thetutlage
Copy link
Member

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.

https://github.com/adonisjs/ally/releases/tag/v5.0.0-5

@thetutlage
Copy link
Member

Feel free to re-open the issue, if the issue persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants