Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49379

Ionic CLI update to the latest version (3.7.0 => 3.9.2) fails

$
0
0

@Treppaoli wrote:

When I try to add a plugin ionic cordova plugin add <plugin_name> asks me to update Ionic CLI to the latest version, but as I try to update fails with this error:

An error occurred while running npm install --save-dev --save-exact ionic@latest (exit
        code 254):

        npm ERR! path
        /home/MyProject/node_modules/cordova-android/node_modules/cordova-common
        npm ERR! code ENOENT
        npm ERR! errno -2
        npm ERR! syscall rename
        npm ERR! enoent ENOENT: no such file or directory, rename
        '/home/MyProject/node_modules/cordova-android/node_modules/cordova-common'
        ->
        '/home/MyProject/node_modules/cordova-android/node_modules/cordova-common.DELETE'
        npm ERR! enoent This is related to npm not being able to find a file.
        npm ERR! enoent

I tried to manually install cordova-common but it returns the same error.
How can I solve this problem?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>