Static GitHub Issues

[2049] TypeError: 'inject' is not a function

prev: These dependencies were not found
next: I need access to the req.user and req.ip when using asyncData

I'm essentially trying to do what @Atinux recommended in #1697 but I keep getting this error:

TypeError: inject is not a function

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1817">#c1817</a>)</em></sub></div>