Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70757

Ionic 4 cli g page error: More than one module matches

$
0
0

@agentsimons wrote:

Hello,
i’m very new her (and new to ionic) I do hope I’m posting in the right place! I’m having a rather pressing issue with ionic/angular cli.
I have searched google and SO extensively, and i’m only seeing older answers to folks using "ng "generate c…but i’m getting ahead of myself

My issue:
I have a new project, a couple days old
using ionic 4.11.0 with angular
+ionic cli 5.4.4
started with the side nav template
I’m trying to generate several new pages, both new, and inside existing subdirectories.
eg: ionic generate page references
i made several this way when i first set-up the project with no issues but now every time i run it i’m getting
this error:

"More than one module matches. Use skip-import option to skip importing the component into the closest module."
In the angular docs i’m finding this issue is related to generating a component, when the module is ambiguous, but-forgive me if i’m wrong- isn’t that the point of the ionic g page, vs generate component… that it generates a new module ?

am i missing something

any help you folks can offer is appreciated!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70757

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>