ModusCreateOrg / ionic-vue

Vuejs integration for Ionic versions 4 and 5
MIT License
272 stars 26 forks source link

bug with Ionic 5 #107

Closed 312977 closed 4 years ago

312977 commented 4 years ago

Uncaught TypeError: Cannot read property 'ios' of undefined at appInitialize (webpack-internal:///./node_modules/@modus/ionic-vue/dist/ionic-vue.esm.js:218) at Object.install (webpack-internal:///./node_modules/@modus/ionic-vue/dist/ionic-vue.esm.js:579) at Function.Vue.use (webpack-internal:///./node_modules/vue/dist/vue.esm.js:5106) at eval (webpack-internal:///./src/main.js:29) at Module../src/main.js (app.js:2731) at webpack_require (app.js:769) at fn (app.js:130) at Object.1 (app.js:2793) at webpack_require (app.js:769) at app.js:907

how to fix it?

and console show: Starting development server... 98% after emitting CopyPlugin

WARNING Compiled with 2 warnings 17:50:50 warning in ./node_modules/@modus/ionic-vue/dist/ionic-vue.esm.js

"export 'reorder' was not found in 'ionicons/icons'

warning in ./node_modules/@modus/ionic-vue/dist/ionic-vue.esm.js

"export 'reorder' was not found in 'ionicons/icons'

"dependencies": { "@ionic/core": "^5.0.7", "@modus/ionic-vue": "1.3.4", "core-js": "^3.6.4", "ionicons": "^5.0.1", "vue": "^2.6.11", "vue-router": "^3.1.6" },

michaeltintiuc commented 4 years ago

Will look into it, thanks for reporting!

michaeltintiuc commented 4 years ago

The issue is that you're trying to build your project against Ionic 5, but ionic-vue was built with Ionic 4, I'll be releasing a new version for that soon, as of now this is expected behavior

michaeltintiuc commented 4 years ago

try version 1.3.5 that should be fixing it @312977