All Ionic commands stops without error
See original GitHub issueDescription:
All Ionic commands are stopping without errors ( ‘ionic serve’,‘ionic cordova platform…’, ‘ionic cordova run…’, etc.) Ionic serve: it does not open browser and stops after ‘lint finished’ ionic cordova platform add android: stops after Using cordova-fetch for cordova-android@7.0.0 (nothing in platform folder or package.json). But I can run cordova platform add android and it works.
It happens with all of my projects, even the projects that worked before.
I have tried to install other version of app-script. I have tried to uninstall node.js and reinstall it but no lucky.
Steps to Reproduce:
Output:
ionic cordova platform add android --verbose
[DEBUG] Reason for not using local CLI: LOCAL_CLI_NOT_FOUND
[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: 'C:\\Users\\agarciaiglesias\\Documents\\chronic_painn', local: false, binPath:
'C:\\Users\\agarciaiglesias\\AppData\\Roaming\\npm\\node_modules\\ionic\\bin\\ionic', libPath:
'C:\\Users\\agarciaiglesias\\AppData\\Roaming\\npm\\node_modules\\ionic\\dist\\index.js' }
[DEBUG] New daemon pid: 17580
> cordova platform add android --save
Using cordova-fetch for cordova-android@7.0.0
My ionic info
:
ionic info
cli packages: (C:\Users\agarciaiglesias\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms : none
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
Node : v8.11.1
npm : 5.6.0
OS : Windows 10
Environment Variables:
ANDROID_HOME : C:\Users\agarciaiglesias\AppData\Local\Android\Sdk
Misc:
backend : pro
Other Information:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:23 (7 by maintainers)
Top Results From Across the Web
Ionic serve suddenly stopped working, attempts to update ...
Hey, everyone! I'm almost 3 months in with Ionic and I've ran into a problem that seemingly has no solution (I'm sure it...
Read more >android - Cordova Ionic - App stopped unexpectedly - Stack Overflow
The problem occured after I updated my OSX to El capitan. Before updating the app would launch perfectly in the emulator. Now even...
Read more >Npm install command failing with message "could not find ...
When I run the npm install command, npm starts downloading the dependencies. But then, suddenly, it stops with the error:
Read more >Cordova Command-line-interface (CLI) Reference
These commands are supported when the current working directory is a valid Cordova project. Command, Description. info, Generate project information.
Read more >Advanced Python Debugging with pdb | Codementor
From here, you can run Python code and debugger commands at the prompt to ... without having to manually step through every iteration....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What if
--no-interactive
flag is used in commands?@agarciaiglesias @leolux Please understand I’m just guessing at what the problem might be. It’s difficult to debug something on a computer far away, and I still haven’t been able to reproduce this on my Windows machine. 😞
Try
npm i -D -E @ionic/app-scripts
Make sure that the platforms and resources folder physically exist, if they do not make them
Then see what errors occur when running each of these one at a time
As the --prod may show errors normally hidden