Basic installation issues.

Tagged: 

This topic contains 42 replies, has 5 voices, and was last updated by  Harry 3 months, 4 weeks ago.

Viewing 30 posts - 1 through 30 (of 43 total)
  • Author
    Posts
  • #26211

    Kaustubh Nirmal
    Participant

    I found these issues. We are facing at the time of build process.

     

    ionic-app-script task: “serve”

    [app-scripts] Error: D:\ionic_src\src\app\main.ts was not found. The “main.dev.ts” and “main.prod.ts” files have been

    [app-scripts]             deprecated. Please create a new file “main.ts” containing the content of “main.dev.ts”, and then delete the

    [app-scripts]             deprecated files. For more information, please see the default Ionic project main.ts file here:

    [app-scripts]             https://github.com/ionic-team/ionic2-app-base/tree/master/src/app/main.ts

    [app-scripts] Error: D:\ionic_src\src\app\main.ts was not found. The “main.dev.ts” and “main.prod.ts” files have been deprecated. Please create a new file “main.ts” containing the content of “main.dev.ts”, and then delete the deprecated files.

    [app-scripts]                             For more information, please see the default Ionic project main.ts file here:

    [app-scripts]                             https://github.com/ionic-team/ionic2-app-base/tree/master/src/app/main.ts

    [app-scripts]     at new BuildError (D:\ionic_src\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28)

    [app-scripts]     at D:\ionic_src\node_modules\@ionic\app-scripts\dist\build\util.js:92:21

    [app-scripts]     at <anonymous>

     

    And

    There are two files are missing.

    1. config file

    2. tsconfig file

     

    Kindly suggest.

     

    Regards

     

    KN

    #26239

    Harry
    Keymaster

    Hye
    For that you should follow this course https://wplms.io/course/getting-started-with-wplms-mobile-app/

    #26240

    Harry
    Keymaster

    If this doesn’t work then share the Results of this command
    -ionic info
    -cordova plugins

    #26511

    Kaustubh Nirmal
    Participant

    Thanks but <span style=”color: #313b3d; font-family: Poppins; font-size: 18px;”>there are two files are missing.</span>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-size: 18px; font-family: Poppins; color: #313b3d;”>1. config file</p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-size: 18px; font-family: Poppins; color: #313b3d;”>2. tsconfig file</p>
    Kindly advise.

     

    Regards

    KN

    #26512

    philippe
    Participant

    Thank you

     

    I Installed the ionic 4.2.1 and many issues soled thankfully

     

    There are still some remained issues come from Incompatibility version of some installed plugins

     

    One: What is the recommended version for cordova

     

    Two : What is the recommended version for cordova-plugin-camera

     

    Three: What is the recommended version for cordova-plugin-inappbrowser

     

    Finally

     

    Here are the warning logs when I try to install some Cordova Plugins and it says

     

    “You must install peer dependencies yourself”

     

    Don`t Really know what is that supposed to mean

     

    npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/[email protected]^4.11.0 but none is installed. You must install peer dependencies yourself.

    npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/[email protected]^4.11.0 but none is installed. You must install peer dependencies yourself.

    npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/[email protected]^3.6.0 but none is installed. You must install peer dependencies yourself.

    npm WARN [email protected] requires a peer of [email protected]^5.0.0 but none is installed. You must install peer dependencies yourself.

    npm WARN [email protected] requires a peer of @angular/[email protected]^6.0.3 but none is installed. You must install peer dependencies yourself.

    npm WARN [email protected] requires a peer of [email protected]^6.0.0 but none is installed. You must install peer dependencies yourself.

    npm WARN @ionic-native/[email protected] requires a peer of [email protected]^6.5.0 but none is installed. You must install peer dependencies yourself.

    npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/[email protected]^5.1.0 but none is installed. You must install peer dependencies yourself.

     

    #26513

    philippe
    Participant

    Sorry, the previous reply was sent incorrectly in this topic.

    #26514

    Kaustubh Nirmal
    Participant

    There are two files are missing.

    1. config file

    2. tsconfig file

    Kindly suggest.

    Regards

    KN

    #26515

    Kaustubh Nirmal
    Participant

    Tried accessing the tutorial but only one or two videos are FREE. Do we have to pay for the titorial of the app after buying the app??

    Kindly advice

    Regards
    KN

    #26516

    Kaustubh Nirmal
    Participant

    Here is the error for command lines you suggested.

    You can check error screenshot here https://prnt.sc/o27cy5

    Regards

    KN

    #26601

    Harry
    Keymaster

    Hey
    you are not in the right directory please go to the right ionic directory
    Go to your ionic folder with this command
    “cd path address” like this C:\Users\99fus\Documents\mp3_caching
    please ensure that you are in the right ionic directory.
    Then try this command cordova plugins

     

     

    #28883

    Kaustubh Nirmal
    Participant

    Hi

    I cannot find correct directory you are describing.

    I ‘d like to know right directory of ionic.

    #28884

    Kaustubh Nirmal
    Participant

    -app, -assets, -components, -directives, -models, -pages, -pipes, -sampledata, -services, -theme, -validators,
    which directory is it right for ionic?

    #28885

    Kaustubh Nirmal
    Participant

    Failed to install ‘cordova-plugin-googleplus’

    missing WEB_APPLICATION_CLIENT_ID

    #28918

    Harry
    Keymaster

    Hey
    you have to go the main folder whose u create on 1st time through this command
     Ionic start projectname –v2 tabs go to this projectname directory
    if you have to go to forward then this command will be helpfull cd then path name
    like:cd  C:\Users\  And if you want to go to backward then try this cd ..

     

     

    #29034

    Kaustubh Nirmal
    Participant
    This reply has been marked as private.
    #29050

    Scott Lang
    Keymaster

    For google login you have to generate reverse client id and make this command to install the google plus plugin or if you don’t want google login you use any reverse-client-id(‘text’)  to just add your google-plus-plugin

    ionic cordova plugin add cordova-plugin-googleplus –variable REVERSED_CLIENT_ID=Reverese-Client-ID

    Also you have to run ionic serve or installing plugins command in root of the folder  like : http://prntscr.com/odxzhx

    #29602

    Kaustubh Nirmal
    Participant

    Hi.
    I have been tried to connect ionic project to wplms site so far.

    but I cannot find api connection part from ionic project and wplms site.

    Please help me.

    #29665

    Harry
    Keymaster
    #29878

    Kaustubh Nirmal
    Participant

    <p style=”text-align: left;”>Hi, now I have customized the wplms and I am going to customize ionic app for wplms.</p>
    but app can’t integrate with wplms because of api connection.

    turtorial for wplms includes api but my customized site is not including api setting.

    So let me know how to implement api connection with app and sites.

    #29879

    Harry
    Keymaster

    Hey
    check the client id
    go to your code and in config.ts file
    when you create a app in wplms-admin=>LMS=>SETTINGS/API
    Then a key is generated and this key is the api key  for thge aplms app
    http://prntscr.com/ojui81

    #29885

    Kaustubh Nirmal
    Participant

    I got it, but my customized site is not including wplms-admin/LMS=>SETTINGS/API.
    so I can’t generate api key.

    #29886

    Harry
    Keymaster

    ok, I think you can’t activate the vibe custom type plugin.
    so please activate the vibe custom type plugin.

    #29897

    Kaustubh Nirmal
    Participant
    This reply has been marked as private.
    #29932

    Harry
    Keymaster

    Hey
    share your site credential and i will  activate the plugin.
    and please share credential in private reply.

    #29984

    Kaustubh Nirmal
    Participant
    This reply has been marked as private.
    #29985

    Kaustubh Nirmal
    Participant
    This reply has been marked as private.
    #30015

    Kaustubh Nirmal
    Participant
    This reply has been marked as private.
    #30092

    Harry
    Keymaster

    Hey

    here is you right url and api so please replace url and client
    _id in config.ts file:http://prntscr.com/olc9q7  With these

      ‘url’:’http://www.brightheads.in/’,

    ‘client_id’:’pGYSq60NwjkDS23ZsXUZsyB’,

    you can add featured course through thishttp://prntscr.com/olc7yt

    #30154

    Kaustubh Nirmal
    Participant
    This reply has been marked as private.
    #30192

    Harry
    Keymaster

    Hey
    share the src folder so i can fix the issue(upload the src file in google drive or one drive and make them public).

     

Viewing 30 posts - 1 through 30 (of 43 total)

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.