Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Expected to find namespace named ''@ioc:Adonis/Addons/Auth'' #29

Open
BayuDC opened this issue Jun 25, 2023 · 3 comments
Open

Expected to find namespace named ''@ioc:Adonis/Addons/Auth'' #29

BayuDC opened this issue Jun 25, 2023 · 3 comments

Comments

@BayuDC
Copy link

BayuDC commented Jun 25, 2023

I have installed @adonisjs/auth and @adonisjs/lucid but this thing happen when i do the node ace configure adonis5-jwt and i don't know why

   Error: Expected to find namespace named ''@ioc:Adonis/Addons/Auth''.
 

   ⁃ Object.throwIfNullOrUndefined
     .../node_modules/.pnpm/@[email protected]/node_modules/@ts-morph/common/dist/ts-morph-common.js:469
   ⁃ SourceFile.getModuleOrThrow
     .../node_modules/.pnpm/[email protected]/node_modules/ts-morph/dist/ts-morph.js:11160
   ⁃ getDefinedProviders
     .../node_modules/.pnpm/[email protected]/node_modules/adonis5-jwt/build/instructions.js:127
@paragrudani1
Copy link

paragrudani1 commented Nov 16, 2023

@BayuDC did you get it solved this issue? if yes, please share with me solution.

@BayuDC
Copy link
Author

BayuDC commented Nov 18, 2023

no, i finally implemented my own jwt middleware instead of using this package

@paragrudani1
Copy link

Can you please share with me any code?

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

No branches or pull requests

2 participants