Cannot find module @ionic/angular/package

This topic contains 6 replies, has 2 voices, and was last updated by  Harry 1 week, 3 days ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #33159

    marielcerra
    Participant

    Hi, When I try to l0ad the app, it’s appear the error:

    Error: ENOENT: no such file or directory, open C:/users/marie/package.json

    When I put ionic info appears the info that appears in the image.

    https://prnt.sc/p39oyf

    How can I fix it and load the app? I install java, node, hit, cordova, all

    Thanks!

    #33241

    Harry
    Keymaster

    Hi
    Go to the ionic project directory where you should create the ionic project.
    ionic start projectname 
    Go to this projectname directory through this command cd projectname.
    After type this command ionic serve .

    #33312

    marielcerra
    Participant

    Hi, thank you! I could load but it appears in the browser “CANNOT GET”

    I send in this link https://prnt.sc/p3yf2v

    the problem.

    What can I do?

    Thanks!

    #33327

    Harry
    Keymaster

    Hi
    please replace this file to your existing package.json file and then open the terminal and type this command npm install

    If the npm installation has been done then serve this command ionic serve

    #33372

    marielcerra
    Participant

    Hi, thank you very much for your response.
    With what file do I have to replace the file I have package.json?

    #33391

    marielcerra
    Participant

    Hi, I found in other post the file to replace package.json

    Now, I have this error https://prnt.sc/p4c5kf

    and this is my enviroment https://prnt.sc/p4c5y9

    I share you the app with all the files in this link: https://drive.google.com/open?id=1gFw3QlK1VcVbZSFv5IiNAEk85c6Jq2Ss

    Could you fix it?

    Thanks!!!

    #33427

    Harry
    Keymaster

    Hi
    i am sending the project folder with all changes just you have to do this open the project folder in terminal and insatll with this command npm install https://we.tl/t-zXhgimBjNu     Because in your project directory lots of dependencies will be missing that’s why the ionic serve is not working on your setup.

    so please download with this link and i am updating all the ionic dependencies.

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

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.