meteor-vue / vue-meteor

🌠 Vue first-class integration in Meteor
897 stars 112 forks source link

component error #308

Closed mehrdadphp closed 6 years ago

mehrdadphp commented 6 years ago

Hi

I can not run a componente with the following error

Errors prevented startup:

While processing files with akryum:vue-component (for target web.browser): packages/vue-component/plugin/vue-compiler.js:550:44: Cannot read property 'parseComponent' of undefined at compileOneFileWithContents (packages/vue-component/plugin/vue-compiler.js:550:44) at VueCompo.compileOneFile (packages/vue-component/plugin/vue-compiler.js:140:12) at async.eachLimit (packages/vue-component/plugin/vue-compiler.js:57:34) at /home/mehrdad/.meteor/packages/akryum_vue-component/.0.13.1.152jvbc.un7y++os+web.browser+web.cordova/plugin.vue-component.os/npm/node_modules/meteor/vue-component/node_modules/async/dist/async.js:3096:16 at replenish (/home/mehrdad/.meteor/packages/akryum_vue-component/.0.13.1.152jvbc.un7y++os+web.browser+web.cordova/plugin.vue-component.os/npm/node_modules/meteor/vue-component/node_modules/async/dist/async.js:998:17) at /home/mehrdad/.meteor/packages/akryum_vue-component/.0.13.1.152jvbc.un7y++os+web.browser+web.cordova/plugin.vue-component.os/npm/node_modules/meteor/vue-component/node_modules/async/dist/async.js:1002:9 at Object.eachLimit$1 (/home/mehrdad/.meteor/packages/akryum_vue-component/.0.13.1.152jvbc.un7y++os+web.browser+web.cordova/plugin.vue-component.os/npm/node_modules/meteor/vue-component/node_modules/async/dist/async.js:3182:24) at VueCompo.processFilesForTarget (packages/vue-component/plugin/vue-compiler.js:41:11)

While processing files with akryum:vue-component (for target os.linux.x86_64): packages/vue-component/plugin/vue-compiler.js:550:44: Cannot read property 'parseComponent' of undefined at compileOneFileWithContents (packages/vue-component/plugin/vue-compiler.js:550:44) at VueCompo.compileOneFile (packages/vue-component/plugin/vue-compiler.js:140:12) at async.eachLimit (packages/vue-component/plugin/vue-compiler.js:57:34) at /home/mehrdad/.meteor/packages/akryum_vue-component/.0.13.1.152jvbc.un7y++os+web.browser+web.cordova/plugin.vue-component.os/npm/node_modules/meteor/vue-component/node_modules/async/dist/async.js:3096:16 at replenish (/home/mehrdad/.meteor/packages/akryum_vue-component/.0.13.1.152jvbc.un7y++os+web.browser+web.cordova/plugin.vue-component.os/npm/node_modules/meteor/vue-component/node_modules/async/dist/async.js:998:17) at /home/mehrdad/.meteor/packages/akryum_vue-component/.0.13.1.152jvbc.un7y++os+web.browser+web.cordova/plugin.vue-component.os/npm/node_modules/meteor/vue-component/node_modules/async/dist/async.js:1002:9 at Object.eachLimit$1 (/home/mehrdad/.meteor/packages/akryum_vue-component/.0.13.1.152jvbc.un7y++os+web.browser+web.cordova/plugin.vue-component.os/npm/node_modules/meteor/vue-component/node_modules/async/dist/async.js:3182:24) at VueCompo.processFilesForTarget (packages/vue-component/plugin/vue-compiler.js:41:11)

Your application has errors. Waiting for file change.

cuginoAle commented 6 years ago

Same here! Tried the following:

same error, any suggestion?

thanks

gustawdaniel commented 6 years ago

I applied commands:

meteor remove blaze-templates reactive-var
meteor add static-html akryum:vue-component akryum:vue-ssr 

And saw error:

  While determining active plugins:
   error: conflict: two packages included in the app (templating-compiler and static-html) are both
   trying to handle *.html

I typed also

meteor remove blaze-html-templates                                              

And still have the same error.

I was using this tutorial:

https://github.com/Akryum/meteor-vue-example

DirkStevens commented 6 years ago

Just encountered the same problem.

My app is a pure Blaze app so far. Just added: vuejs:blaze-integration akryum:vue-component

And getting the above crash...

DirkStevens commented 6 years ago

Looks like it's a problem with the documentation? After I installed vue manually with "meteor npm install --save vue@2.5.16." the problem disappeared.