Basic installation issues.

Tagged: 

This topic contains 9 replies, has 3 voices, and was last updated by  Harry 2 days, 2 hours ago.

Viewing 10 posts - 1 through 10 (of 10 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
    Moderator

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

    #26240

    Harry
    Moderator

    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
    Moderator

    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

     

     

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

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.