-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
package: vue@ionic/vue package@ionic/vue packagetype: buga confirmed bug reporta confirmed bug reportv6issues specific to Framework v6issues specific to Framework v6
Milestone
Description
Bug Report
Ionic version:
[ ] 4.x
[ ] 5.x
[ x] 6.x
Current behavior:
Using the ion-title component in the v6 vue beta leads to the following console error: "Cannot read property 'emit' of undefined".
The component itself gets rendered, and it seems to work - it just throws an error
EDIT: Same error happens to the ion-menu component.
Expected behavior:
No error should be thrown
Steps to reproduce:
- Create a new ionic vue project
- Upgrade to v6 beta according to upgrade guide
- Serve project and open app in browser
- Check console
Related code:
Other information:
Ionic info:
[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module '@capacitor/ios/package'
Require stack:
- /usr/local/lib/node_modules/@ionic/cli/lib/project/index.js
- /usr/local/lib/node_modules/@ionic/cli/lib/index.js
- /usr/local/lib/node_modules/@ionic/cli/index.js
- /usr/local/lib/node_modules/@ionic/cli/bin/ionic
[WARN] Error loading @capacitor/android package.json: Error: Cannot find module '@capacitor/android/package'
Require stack:
- /usr/local/lib/node_modules/@ionic/cli/lib/project/index.js
- /usr/local/lib/node_modules/@ionic/cli/lib/index.js
- /usr/local/lib/node_modules/@ionic/cli/index.js
- /usr/local/lib/node_modules/@ionic/cli/bin/ionic
Ionic:
Ionic CLI : 6.16.3 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 6.0.0-beta.0
Capacitor:
Capacitor CLI : 3.0.2
@capacitor/android : not installed
@capacitor/core : 3.0.2
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 1.4.0
System:
NodeJS : v14.8.0 (/usr/local/Cellar/node/14.8.0/bin/node)
npm : 6.14.7
OS : macOS Big Sur
jakubkoje and elwinvaneede
Metadata
Metadata
Assignees
Labels
package: vue@ionic/vue package@ionic/vue packagetype: buga confirmed bug reporta confirmed bug reportv6issues specific to Framework v6issues specific to Framework v6
