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

Why, Failed to fetch platform cordova-android.?

$
0
0

@rsa wrote:

I started a new project but i get this amazing error

cordova platform add android --save
x Running command - failed!
[ERROR] Exception: Using cordova-fetch for cordova-android@~6.2.2
    Error: Failed to fetch platform cordova-android@~6.2.2
    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 4294963248 Error output:
    npm ERR! path
    D:\apps\new\newtest\node_modules\fsevents\node_modules\ansi-regex\package.json
    npm ERR! code EPERM
    npm ERR! errno -4048
    npm ERR! syscall unlink
    npm ERR! Error: EPERM: operation not permitted, unlink
    'D:\apps\new\newtest\node_modules\fsevents\node_modules\ansi-regex\package.json'
    npm ERR!  { Error: EPERM: operation not permitted, unlink
    'D:\apps\new\newtest\node_modules\fsevents\node_modules\ansi-regex\package.json'
    npm ERR!   stack: 'Error: EPERM: operation not permitted, unlink
    \'D:\\apps\\new\\newtest\\node_modules\\fsevents\\node_modules\\ansi-regex\\package.json\'',
    npm ERR!   errno: -4048,
    npm ERR!   code: 'EPERM',
    npm ERR!   syscall: 'unlink',
    npm ERR!   path:
    'D:\\apps\\new\\newtest\\node_modules\\fsevents\\node_modules\\ansi-regex\\package.json'
    }
    npm ERR!
    npm ERR! Please try running this command again as root/Administrator.

    npm ERR! A complete log of this run can be found in:
    npm ERR!
    C:\Users\Green\AppData\Roaming\npm-cache\_logs\2017-08-25T05_16_41_741Z-debug.log

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49210

Trending Articles



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