error running app

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #12260

    FWU
    Participant

    hello,

    I recently bought your wplms app. As far as I understand, this is an ionic app, right? However, when I try to run the app using “ionic serve” I get the foloowing error:

    [ERROR] Sorry! ionic serve can only be run in an Ionic project directory.

    I tried to run the command inside the “ionic_src” folder and also from the parent folder. The error I get is the same? May this be related with the ionic version Im running? Im using ionic 3.20.0

    regards!

    #12270

    Alex
    Keymaster

    Well you need to run this command where your src folder is .
    refer : http://prntscr.com/jqjt2q

    #12283

    FWU
    Participant
    This reply has been marked as private.
    #12328

    Alex
    Keymaster

    Its wrong you have to run the command one folder back : http://prntscr.com/jrgm84

     

    If it still does not works then please follow :

     

     

    Take backup of all ionic setup then

    rename the node_modules folder in your ionic project (where src folder is) to node_modules_BACKUP and also rename the package.json file to package_BACKUP.json .

    then download the package.json file from here : https://bit.ly/2I2F732

    Then place it in your ionic project .

    Then in terminal of cmd run :

    npm install

    Then run this command in your ionic project :

    ionic cordova platform rm android

    ionic cordova platform add [email protected]

     

    #12336

    FWU
    Participant

    Alex,

    I also tried to run it on the parent folder. I will try now the other steps you gave me.

     

    regards

    #12337

    FWU
    Participant
    This reply has been marked as private.
    #12338

    FWU
    Participant
    This reply has been marked as private.
    #12391

    Alex
    Keymaster

    Well that means that ionic was not setup that folder.It might got setup in another folder while you run those commands .Usually it installs in C:/users/username/  or in Documents folder in windows .
    Please check these places ,then replace the src folder there with your one .

    please follow these two courses from scratch :

    https://wplms.io/course/how-to-install-ionic/

    https://wplms.io/course/getting-started-with-wplms-mobile-app/ 

     

    keep track of where you are running commands .
    Use DOS cd command to navigate into folder in command prompt .

    #12408

    FWU
    Participant

    Alex,

    Do you look at the video I sent before? Am I wrong or what you are sending to the customers when buying an app is not an ionic project? I believe this is my problem. I got it and I tried to run ionic on it. But before, it seems I need to add it to an ionic project. Is that right?

    regards

    #12409

    FWU
    Participant

    ok, I understand now. It was what I was expecting.

    #12430

    Alex
    Keymaster

    First you need to setup ionic .

    Once you are done you will find a folder names src in your ionic project .
    refer : http://prntscr.com/jseqx5

    Please open it and remove all the files and then :

    then download the wplms ionic app package  from codecanyon .
    You need to copy all the contents(where app,pages folders and index.html file are) from ionic_src folder and then goto ionic project -> src folder and paste all the contents (app,pages folders and index.html file) in it .

     

    If its hard for you you can probably order your customization here : http://wplms.io/app/app-customization/

    #12445

    FWU
    Participant
    This reply has been marked as private.
    #12454

    FWU
    Participant
    This reply has been marked as private.
    #12482

    Alex
    Keymaster

    its :

    com.facebook.LoginActivity

     

    http://prntscr.com/jszo4n

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.