ionic-team / vscode-ionic

Visual Studio Code Ionic Extension
Other
5 stars 0 forks source link

Debugging web run failure after Cordova app migration #152

Open eskim023 opened 1 month ago

eskim023 commented 1 month ago

New to Capacitor so apologies if I missed something obvious. I successfully migrated my simple Cordova iOS app to Capacitor (nice work on that) and ran it on my native iOS devices. And this is great! But I'm missing something when I use the VSCode extension to run on web. This function in the Ionic VScode plugin results in this output:

[Ionic] Running on Web...
> npx undefined --no-open --host=0.0.0.0 --port=8100
npm error could not determine executable to run

...what executable should be running where we are seeing "undefined" and where is it set? Chasing that dream of Live Reload...

Thanks so much.

dtarnawsky commented 1 month ago

Is this a project that you can share?

It sounds like the extension cannot identify how you would run your application - i.e. it's not Angular / React / Vue or has a serve or ionic:serve command in package.json.

dtarnawsky commented 4 weeks ago

Hey @eskim023 ,

Is this a project that you can share?

It sounds like the extension cannot identify how you would run your application - i.e. it's not Angular / React / Vue or has a serve or ionic:serve command in package.json.