nuxt: Error while initializing app TypeError: parentVal.concat is not a function

Version

2.0.0

Reproduction link

https://nuxtjs.org

Steps to reproduce

Upgrade a project to Nuxt 2.0.0.

What is expected ?

No error.

What is actually happening?

Hello. I get the following error that is not easy to understand and debug:

[nuxt] Error while initializing app TypeError: parentVal.concat is not a function
    at mergeHook (commons.app.js:10224)
    at mergeField (commons.app.js:10485)
    at mergeOptions (commons.app.js:10476)
    at Function.Vue.extend (commons.app.js:13793)
    at sanitizeComponent (app.js:4688)
    at _callee$ (app.js:4757)
    at tryCatch (commons.app.js:4154)
    at Generator.invoke [as _invoke] (commons.app.js:4388)
    at Generator.prototype.(anonymous function) [as next] (http://localhost:3000/_nuxt/commons.app.js:4206:21)
    at asyncGeneratorStep (commons.app.js:33)

It seems to be part of the Vue.js framework. Any idea what could cause this in my code? A module, a Vue plugin, an external lib?

<div align="right">This bug report is available on Nuxt community (#c7819)</div>

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 5
  • Comments: 15 (6 by maintainers)

Most upvoted comments

As far as we know it’s a bug in nuxt-i18n after the last vue-meta release (though it could be an issue with vue-meta as well). We are on it ☺️

Use seo: false in the module options or downgrading vue-meta by one minor version to temporary work around the issue.

Resolved with vue-meta@1.5.5

I can confirm that turning seo to false fixes the issue for now.

I tried to downgrade vue-meta to 1.5.3 and other issues started happening.