Error when trying to launch app

This topic contains 1 reply, has 2 voices, and was last updated by  Scott Lang 2 weeks, 5 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18449

    Clairepf80
    Participant

    hi, when i try to upload the angular cli i get the following error message:
    <p class=”p1″><span class=”s1″>Claires-Air:~ Claire$ npm install -g @angular/cli</span></p>
    <p class=”p1″><span class=”s2″>npm</span> <span class=”s3″>ERR!</span> <span class=”s4″>path</span><span class=”s1″> /usr/local/bin/ng</span></p>
    <p class=”p1″><span class=”s2″>npm</span> <span class=”s3″>ERR!</span> <span class=”s4″>code</span><span class=”s1″> EEXIST</span></p>
    <p class=”p1″><span class=”s2″>npm</span> <span class=”s3″>ERR!</span><span class=”s1″> Refusing to delete /usr/local/bin/ng: ../lib/node_modules/angular-cli/bin/ng symlink target is not controlled by npm /usr/local/bin</span></p>
    <p class=”p1″><span class=”s2″>npm</span> <span class=”s3″>ERR!</span><span class=”s1″> File exists: /usr/local/bin/ng</span></p>
    <p class=”p1″><span class=”s2″>npm</span> <span class=”s3″>ERR!</span><span class=”s1″> Move it away, and try again.</span></p>
    <p class=”p2″></p>
    <p class=”p1″><span class=”s2″>npm</span> <span class=”s3″>ERR!</span><span class=”s1″> A complete log of this run can be found in:</span></p>
    <p class=”p1″><span class=”s2″>npm</span> <span class=”s3″>ERR!</span><span class=”s1″> <span class=”Apple-converted-space”>    </span>/Users/Claire/.npm/_logs/2019-01-03T21_48_52_297Z-debug.log</span></p>
    <p class=”p1″><span class=”s1″>Claires-Air:~ Claire$<span class=”Apple-converted-space”> </span></span></p>
    <p class=”p2″></p>
    not sure what to do

    #18478

    Scott Lang
    Keymaster

    In your ionic project folder replace the package.json file with the one given in below link

    https://bit.ly/2I2F732

    and in command prompt or terminal run this command :

    npm install

    after that please follow :

    First remove the android platform :

    cordova platform rm android

    Please also make sure you have installed these plugins in your ionic setup :

    cordova-plugin-camera 2.4.1 “Camera”

    cordova-plugin-compat 1.2.0 “Compat”

    cordova-plugin-console 1.0.5 “Console”

    cordova-plugin-device 1.1.7 “Device”

    cordova-plugin-facebook4 1.7.4 “Facebook Connect”

    cordova-plugin-file 4.3.3 “File”

    cordova-plugin-file-transfer 1.6.3 “File Transfer”

    cordova-plugin-googleplus 5.3.2 “Google SignIn”

    cordova-plugin-inappbrowser 1.7.2 “InAppBrowser”

    cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

    cordova-plugin-splashscreen 4.1.0 “Splashscreen”

    cordova-plugin-statusbar 2.4.2 “StatusBar”

    cordova-plugin-whitelist 1.3.3 “Whitelist”

    cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”

    ionic-plugin-keyboard 2.2.1 “Keyboard”

    Please check for the corodova plugins .

    Install the cordova plugins with their versions mentioned above .

    first remove plugin :

    cordova plugin rm {cordova plugin name}

    the add

    cordova plugin add {cordova plugin name}@{version}

    example :

    cordova plugin add [email protected]

    then re -add platform :

    cordova platform add [email protected]

    after this replace src with wplms src (which is from codecanyon)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.