1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

I tried both ng serve and ionic serve commands, running my ionic Angular project, I am facing...

Discussão em 'Angular' iniciado por kavya cv, Junho 29, 2025.

  1. kavya cv

    kavya cv Guest

    I am trying to run my Angular Ionic project, I used both ng serve & ionic serve commands to run the project, still I am unable to run the project in my local server.

    • Angular & Angular CLI versions: 17.2.2
    • Ionic version 7.2.0
    • Node: 20.15.0
    • Package Manager: npm 10.8.2
    • OS: win32 x64

    This is how my folder structure looks like: [​IMG]

    PS E:\sss> ng serve
    Error: This command is not available when running the Angular CLI outside a workspace.

    PS E:\sss> ionic serve
    ionic : The term 'ionic' is not recognized as the name of a cmdlet, function, script file, or operable
    program. Check the spelling of the name, or if a path was included, verify that the path is correct and
    try again.
    At line:1 char:1
    + ionic serve
    + ~~~~~
    + CategoryInfo : ObjectNotFound: (ionic:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


    How can I solve this error?

    Continue reading...

Compartilhe esta Página