That project sounds broken.
I would advice you to start a new project with ionic start
and see if everything works with that one.
That project sounds broken.
I would advice you to start a new project with ionic start
and see if everything works with that one.
Would I change anything in my environmental settings?
In this where I set path 1 or 2.
Why should these be relevant in any way here?
i delete and started new project and my new project also containing same issue…
When I ran ionic cordova platform add android I found below error.,
cordova platform add android --save
Using cordova-fetch for cordova-android@~6.3.0
Error: Failed to fetch platform cordova-android@~6.3.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code ENOENT
[ERROR] Exception:
Please post the whole output of that command.
Please post your ionic info
output for that project.
this my ionic info
I run npm install -g cordova it shows error like below
Your problem is probably with npm
, something to do with permissions and files. This happens quite often and is almost impossible to successfully debug (at least here in the forum).
One solution: Uninstall your node, install nvm
(or nvm-windows
if you are on Windows), install a new node
(which includes npm
) with this, then install ionic
and cordova
again and try your command again. The problem should be gone.