-
AuthorPosts
-
June 3, 2018 at 9:04 pm #12260
FWUParticipanthello,
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!
June 4, 2018 at 8:06 am #12270
AlexKeymasterWell you need to run this command where your src folder is .
refer : http://prntscr.com/jqjt2qJune 6, 2018 at 6:58 am #12328
AlexKeymasterIts 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]
June 6, 2018 at 9:41 am #12336
FWUParticipantAlex,
I also tried to run it on the parent folder. I will try now the other steps you gave me.
regards
June 7, 2018 at 6:58 am #12391
AlexKeymasterWell 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 .June 7, 2018 at 10:19 am #12408
FWUParticipantAlex,
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
June 8, 2018 at 7:47 am #12430
AlexKeymasterFirst you need to setup ionic .
Once you are done you will find a folder names src in your ionic project .
refer : http://prntscr.com/jseqx5Please 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/
-
AuthorPosts
- You must be logged in to reply to this topic.