ERROR: cordova-res was not found on your PATH

0
207

I have a problem in my app ionic 4, when i run ionic cordova platform add android I have this error :

[ERROR] cordova-res was not found on your PATH. Please install it globally:
npm i -g cordova-res

And when I run npm i -g cordova-res I cant’t install it. How to solve this problem?

Solution :-

Install and save cordova-res to your project node_modules.

npm i cordova-res@latest --save

then execute,

ionic cordova resources ios --force

LEAVE A REPLY

Please enter your comment!
Please enter your name here