Static GitHub Issues

[3189] this.addModule inside of module does not work as expected

prev: [spa] Set minimum duration of execution for loadingIndicator
next: $router.push() not working in NuxtJS

Version

v1.4.0

Reproduction link

https://github.com/dohomi/nuxtjs-graphql-cms

Steps to reproduce

Inside of my module I add 2 external nuxt modules. Inside of my test environment everything works as expected. As soon I try adding my module as dependency it fails to build

What is expected ?

this.addModule should work without any configuration necessary

What is actually happening?

throws parsing errors in building the *.gql files

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