ng g c new-component-name
Your global Angular CLI version (12.2.9) is greater than your local version (9.1.7). The local Angular CLI version is used.
To disable this warning use “ng config -g cli.warnings.versionMismatch false”.
More than one module matches. Use skip-import option to skip importing the component into the closest module.
Solution:
ng g c new-component-name --module app
Your global Angular CLI version (12.2.9) is greater than your local version (9.1.7). The local Angular CLI version is used.
To disable this warning use “ng config -g cli.warnings.versionMismatch false”.More than one module matches. Use skip-import option to skip importing the component into the closest module.
Similar Posts:
- Angular7:Can’t bind to ‘formGroup’ since it isn’t a known property of ‘form’ [Solved]
- [Solved] Vue/cli install element error: Error: cannot find module ‘Babel plugin component’
- Vue adds route errors dynamically: Uncaught Error… [How to Solve]
- [Solved] The cause of the wrong prompt instruction [ng: areq] in angular
- Local workspace file (‘angular.json’) could not be found.
- Ionic6: did you add it to @ ngmodule.entrycomponents
- Can’t call setState (or forceUpdate) on an unmounted component [How to Solve]
- How to Solve Vue error: Maximum call stack size exceeded
- React Common Component Issues: Can’t perform a React state update on an unmounted component [How to Solve]
- How to Solve vuetify dialog box cannot be edited (The embedded tinymic component)