Home

Issue: 3189

this.addModule inside of module does not work as expected

[issue link]

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

This bug report is available on Nuxt.js community (#c6843)