New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Installing capacitor on a default vuetify project fails #6777
Comments
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed. |
Sample App: This follows the exact steps above to reproduce error |
Thanks for the sample app. I can reproduce, but I can also reproduce by just doing
So there seems to be something wrong with vuetify that breaks the app on the third The problem seems this one vuejs/language-tools#3345 |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Bug Report
Capacitor Version
馃拪 Capacitor Doctor 馃拪
Latest Dependencies:
@capacitor/cli: 5.2.2
@capacitor/core: 5.2.2
@capacitor/android: 5.2.2
@capacitor/ios: 5.2.2
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/cli: 5.2.2
@capacitor/android: 5.2.2
@capacitor/core: 5.2.2
[error] Missing attribute in app/src/main
Platform(s)
uname -a
Linux devserver 5.15.0-78-generic #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Current Behavior
Attempted to install capacitor on a vuetify (vue) project, failed
Expected Behavior
Installing the default vuetify project, then installing capacitor should succeed.
Code Reproduction
Sample: https://github.com/deidyomega/com.example.cap
Below code used to generate sample:
npm create vuetify
==> Essentials (Vuetify, VueRouter, Pinia)npm run build
npm install @capacitor/core @capacitor/cli
npx cap init ExampleApp com.example.cap --web-dir=dist
npm run build
npm i @capacitor/android
npx cap add android
npm run build
<-- FailsNode.js v18.16.0
Other Technical Details
npm --version
output:9.5.1
node --version
output:v18.16.0
Additional Context
I was able to reproduce this bug with literally nothing but the default vuetify project. I changed no code and got the error.
A more complete showing of the terminal i/o:
https://gist.github.com/deidyomega/3275eb4f5e486cfcae6bd36219949b68
The text was updated successfully, but these errors were encountered: