Skip to content

Using Inversify in Next.js apps #1576

Closed Answered by WillACosta
WillACosta asked this question in Q&A
Discussion options

You must be logged in to vote

After hours of debugging, I found it was my fault (as always in programming). I forgot to add the correct DI_TYPES when defining the instances bind. Now everything is ok!

For those with some trouble in Next apps, don't forget to add the plugin for reflect-metadata as mentioned above. Thats all!! ;)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by WillACosta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant