Nuxt.js: Getting error while using nuxt-class-component

Created on 29 May 2017  路  6Comments  路  Source: nuxt/nuxt.js

I copy pasted the example code from vue-class-component examples directory and getting this error with latest nuxt

Nuxt.js Error:

TypeError: Cannot read property '_init' of undefined
    at VueComponent (/Users/piyushchauhan/Documents/testcodes/nuxt-component/node_modules/vue/dist/vue.runtime.common.js:4167:11)
    at server-bundle.js:2252:17
    at F (~/core-js/library/modules/_export.js:35:0)
    at server-bundle.js:2247:22
    at Array.map (native)
    at Object._callee$ (.nuxt/server.js:53:65)
    at tryCatch (~/regenerator-runtime/runtime.js:65:14)
    at Generator.invoke [as _invoke] (~/regenerator-runtime/runtime.js:303:0)
    at Generator.prototype.(anonymous function) [as next] (~/regenerator-runtime/runtime.js:117:0)
    at step (~/babel-runtime/helpers/asyncToGenerator.js:17:0)
    at server-bundle.js:1105:13

This bug report is available on Nuxt.js community (#c685)
bug-confirmed

Most helpful comment

@piyushchauhan2011 @nidin @alexchopin it seems that this pr has fixed this bug.
I also get this error, but after checkout to dev branch, it works well.

All 6 comments

I am also getting this error

@piyushchauhan2011 @nidin @alexchopin it seems that this pr has fixed this bug.
I also get this error, but after checkout to dev branch, it works well.

@pengchongfu Perfect, It is working well with dev branch.

Working with 1.0.0-alpha2

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pehbehbeh picture pehbehbeh  路  3Comments

surmon-china picture surmon-china  路  3Comments

vadimsg picture vadimsg  路  3Comments

vadimsg picture vadimsg  路  3Comments

VincentLoy picture VincentLoy  路  3Comments