Ionic generate page error: Could not find your routes file

Discussão em 'Angular' iniciado por Rens Jaspers, Setembro 15, 2024.

  1. Rens Jaspers

    Rens Jaspers Guest

    I'm having trouble generating a new page in Ionic (Angular). Here's the command I used and the error I received:

    $ ionic g page mypage
    > ng generate page mypage --project=app
    Could not find your routes file. Use the skip-import option to skip importing.
    [ERROR] Could not generate page.


    I've also tried using --skip-import but got an "Unknown argument" error. How can I resolve this to successfully generate a new page?

    Continue reading...

Compartilhe esta Página