Akryum / meteor-vue2-example

Meteor & Vue 2.0 example
44 stars 22 forks source link

Errors when running the example #2

Closed aogaili closed 7 years ago

aogaili commented 7 years ago

I'm getting the following error at the chrome console after cloning and running the app, any idea what might be causing it?

vue.runtime.common.js:2961 Uncaught ReferenceError: _h is not defined at Proxy.vue_options.render (http://localhost:3000/app/app.js?hash=725e316c008f3522ee76783a491d3e95a435f741:154:78) at VueComponent.Vue._render (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:3632:22) at VueComponent. (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:2869:21) at Watcher.get (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:2332:27) at new Watcher (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:2324:12) at VueComponent.Vue._mount (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:2868:19) at VueComponent.Vue$2.$mount (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:6658:15) at init (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:3180:11) at createComponent (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:4732:9) at createElm (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:4675:9)vue_options.render @ App.vue:12Vue._render @ vue.runtime.common.js:2952(anonymous function) @ vue.runtime.common.js:2189get @ vue.runtime.common.js:1652Watcher @ vue.runtime.common.js:1644Vue._mount @ vue.runtime.common.js:2188Vue$2.$mount @ vue.runtime.common.js:5978init @ vue.runtime.common.js:2500createComponent @ vue.runtime.common.js:4052createElm @ vue.runtime.common.js:3995patch @ vue.runtime.common.js:4483Vue._update @ vue.runtime.common.js:2215(anonymous function) @ vue.runtime.common.js:2189get @ vue.runtime.common.js:1652Watcher @ vue.runtime.common.js:1644Vue._mount @ vue.runtime.common.js:2188Vue$2.$mount @ vue.runtime.common.js:5978(anonymous function) @ main.js:11maybeReady @ startup_client.js:26loadingCompleted @ startup_client.js:38 vue.runtime.common.js:433 TypeError: Cannot read property 'child' of null at isPatchable (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:4791:17) at patchVnode (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:5002:20) at Vue$2.patch [as patch] (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:5131:9) at Vue$2.Vue._update (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:2902:19) at Vue$2. (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:2869:10) at Watcher.get (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:2332:27) at Watcher.run (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:2401:22) at flushSchedulerQueue (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:2219:13) at Array. (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:1151:20) at nextTickHandler (http://localhost:3000/packages/modules.js?hash=66765e2fae8494c60dab625a63103bf0cccdc691:1100:16)logError @ vue.runtime.common.js:433(anonymous function) @ dynamics_browser.js:51 vue.runtime.common.js:5991 Download the Vue Devtools for a better development experience: https://github.com/vuejs/vue-devtools

Akryum commented 7 years ago

What are the meteor packages and the npm packages versions you are using?

aogaili commented 7 years ago

I just cloned the repo and did meteor npm install then meteor as per the instruction..

Meteor packages:

meteor-base@1.0.4 # Packages every Meteor app needs to have mobile-experience@1.0.4 # Packages for a great mobile UX mongo@1.1.12 # The database Meteor supports right now reactive-var@1.0.10 # Reactive variable for tracker jquery@1.11.9 # Helpful client-side library tracker@1.1.0 # Meteor's client-side reactive programming library

standard-minifier-css@1.2.0 # CSS minifier run for production mode standard-minifier-js@1.2.0 # JS minifier run for production mode es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers. ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code

autopublish@1.0.7 # Publish all data to the clients (for prototyping) insecure@1.0.7 # Allow all DB writes from clients (for prototyping) static-html@1.1.12 akryum:vue akryum:vue-component session@1.1.6 akryum:vue-router2 akryum:vue-stylus shell-server

NPM Packages:

{ "name": "meteor-vue-example-routing", "private": true, "scripts": { "start": "meteor run" }, "dependencies": { "meteor-node-stubs": "~0.2.0" }, "devDependencies": { "vue": "^2.0.0-rc.8", "vue-router": "^2.0.0-rc.5" } }

aogaili commented 7 years ago

I was hoping to use the CoPilot admin theme with Meteor and integrate them using your package, if that doesn't work then I might just go with Firebase for the poc.

Akryum commented 7 years ago

Do a meteor update, and install the latest version of vue and vue-template-compiler

Le mar. 20 déc. 2016 18:29, Ali Ogaili notifications@github.com a écrit :

I was hoping to use the CoPilot admin theme https://github.com/misterGF/CoPilotwith Meteor and integrate them using your package, if that doesn't work then I might just go with Firebase for the poc.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Akryum/meteor-vue2-example/issues/2#issuecomment-268304804, or mute the thread https://github.com/notifications/unsubscribe-auth/ACqyfMpKp7JMchegLOxcZI81wbqFiM1eks5rKBBxgaJpZM4LSDXC .

aogaili commented 7 years ago

Thanks for the quick response Akryum! it's working now sorry I'm new to this.