nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

Getting error while using nuxt-class-component

Open piyushchauhan2011 opened this issue 9 years ago • 6 comments

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)

piyushchauhan2011 avatar May 29 '17 04:05 piyushchauhan2011

Test repo: https://github.com/piyushchauhan2011/nuxt-component

piyushchauhan2011 avatar May 29 '17 05:05 piyushchauhan2011

I am also getting this error

nidin avatar May 29 '17 11:05 nidin

@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 avatar May 29 '17 12:05 pengchongfu

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

nidin avatar May 29 '17 13:05 nidin

Working with 1.0.0-alpha2

piyushchauhan2011 avatar May 31 '17 00:05 piyushchauhan2011

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.

lock[bot] avatar Nov 04 '18 22:11 lock[bot]