Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: [Cap 3 beta] cap init fails in Cordova project with config.xml file #4223

Closed
dotNetkow opened this issue Feb 19, 2021 · 2 comments · Fixed by #4227
Closed

bug: [Cap 3 beta] cap init fails in Cordova project with config.xml file #4223

dotNetkow opened this issue Feb 19, 2021 · 2 comments · Fixed by #4227

Comments

@dotNetkow
Copy link
Contributor

dotNetkow commented Feb 19, 2021

Bug Report

Capacitor Version

3.0.0-beta.3

Current Behavior

Add Capacitor 3 to an existing Cordova project (this demo app) with a valid config.xml file then run npx cap init.

After answering all prompts:

  • name = demo-authconnect-auth0
  • package id = io.ionic.demo.ac.auth0
  • web asset dir = www

it fails with: [error] Unable to read: [local path]/demo-authconnect-auth0/config.xml
and capacitor.config.json is not created.

Expected Behavior

The init command should complete successfully.

Code Reproduction

Clone this repo: https://github.com/ionic-team/demo-authconnect-auth0

Other Technical Details

npm --version output: 6.14.6
node --version output: v14.5.5

@jcesarmobile
Copy link
Member

Interesting, I can reproduce with beta 3, but not with the local copy that should be exactly the same. @dwieeb thoughts?
In fact, I can reproduce with all the betas.

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 11, 2022

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants