-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Cannot find module '@jmondi/oauth2-server/dist/adapters/fastify' #27
Comments
🧐 will look into this one shortly and will try to have a fix up asap |
resolves the missing adapter import here: #27
I've pushed an update for this one in v2.0.3-rc.0. I did this one under an RC because it was a bit riskier because I removed Either pull the latest master if you are testing directly in the examples, or use > Thanks for posting these issues! |
On the first glance it works for me now, thank you a lot for your fast response and fix! |
Excellent! I put this fix as well as your PR #28 allowing numbers for OAuthUser.id into a tag of v2.0.3. see https://github.com/jasonraimondi/ts-oauth2-server/releases/tag/v2.0.3 |
Typechecks work but when I try to start my fastify server it does not find the module.
After looking into the node_modules-Folder inside @jmondi/oauth2-server/dist/adapters I only find the typing files (*.d.ts) but no code. Also when searching inside the oauth2-server.cjs.development.js the function declaration can't be found.
Are there specific typescript options I have to set for the import to work?
Update: I also checked out the prisma-fastify-example and tried to start it up. Same error.
The text was updated successfully, but these errors were encountered: