Closed
Description
Bug Report
Ionic version:
[x] 4.x
@ionic/[email protected] or @ionic/vue@next
Current behavior:
When updating vue apps developed with Ionic/[email protected] and running the
npm install
after having deleted the node_modules folder, i got the following error
Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at addIcons (chunk-ea2b3dce.js?d602:13)
at appInitialize (ionic-vue.esm.js?481b:279)
at Object.install (ionic-vue.esm.js?481b:687)
at Function.Vue.use (vue.runtime.esm.js?2b0e:5101)
at eval (main.js?56d7:12)
at Module../src/main.js (app.js:10193)
at __webpack_require__ (app.js:767)
at fn (app.js:130)
at Object.1 (app.js:10267)
Expected behavior:
Should be able to load ionicons. this was working perfect when @ionic/[email protected] and [email protected] were dependencies. Now when you reinstall from scratch the dependencies are @ionic/[email protected] and [email protected] and it is failing both for @ionic/[email protected] and @ionic/vue@next
Steps to reproduce:
- take an existing vue apps running with @ionic/[email protected] and ionicons 4.5.6
- delete the folder node_modules
- delete the package-lock.json
- npm install
Related code:
look at
https://github.com/jepiqueau/vue-test-stencil-svgpaths-morphing
which fails
look at
https://github.com/jepiqueau/vue-test-stencil-colorpicker
which works
insert short code snippets here
Other information:
Ionic info:
Ionic:
Ionic CLI : 5.0.2
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v10.15.3
npm : 6.9.0
OS : macOS Mojave