Closed guillaumemaka closed 5 years ago
One thing i noticed is you are destructuring in the constructor but using classic injection?
@jeffijoe Found the error after re-reading my issue, duplicate declaration:
app.use(users);
app.use(upload);
Oh yeah, the stack trace didnt even mention Awilix. 😀
Sorry for polluting your issues
No problem 😀
Hi,
I tried to use the decorator way, I got this error when I call a route
routes/users.js
server.js
lib/container.js
.babelrc
Googled the error but got no result, so I maybe I did something wrong.