Description:
hello,
i've an issue with ionic doctor check command
ionic doctor check viewport-fit-not-set try to find the index.html in wrong directory
my outputDir is www and doctor try to check the index in src directory
i'am a little bit confused about the use of capacitor.config.json and ionic.config.json
maybe i'm doing wrong
Steps to Reproduce:
Run:
ionic doctor check viewport-fit-not-set
Output:
Error: ENOENT: no such file or directory, open '/home/user/projects/my-project/src/index.html'
{
"name": "traidauto-front",
"integrations": {
"capacitor": {}
},
"type": "vue",
"srcDir": "www", # try this fix but not working
"npmClient": "yarn"
}
i 've check the code in ionic cli
the ViewportFitNotSet class get directory from this.project.getSourceDir() which is return src
line 234 in detected methode so maybe is the normal behaviour so how can change the src dir for checking viewport?
Description: hello, i've an issue with ionic doctor check command
ionic doctor check viewport-fit-not-set try to find the index.html in wrong directory my outputDir is www and doctor try to check the index in src directory
i'am a little bit confused about the use of capacitor.config.json and ionic.config.json maybe i'm doing wrong
Steps to Reproduce: Run:
Output:
My
ionic info
:Other Information:
capacitor.config.json
ionic.config.json
i 've check the code in ionic cli the ViewportFitNotSet class get directory from this.project.getSourceDir() which is return src line 234 in detected methode so maybe is the normal behaviour so how can change the src dir for checking viewport?