Skip to content

Unable to create Angular web app #308

@nx-irvin

Description

@nx-irvin

I'm trying to create a web a app following the getting started steps. I managed to create an Ionic + Angular App, but when i try the same steps with web + angular it doesn't work. I get the following messages:

Error: Could not find an NgModule. Use the skip-import option to skip importing in NgModule.
at findModule (C:\na\dvlp\wks2021\nexus-monorepo\node_modules@schematics\angular\utility\find-module.js:81:11)
at findModuleFromOptions (C:\na\dvlp\wks2021\nexus-monorepo\node_modules@schematics\angular\utility\find-module.js:26:38)
at C:\na\dvlp\wks2021\nexus-monorepo\node_modules@schematics\angular\component\index.js:105:66
Error: Could not find an NgModule. Use the skip-import option to skip importing in NgModule.
at findModule (C:\na\dvlp\wks2021\nexus-monorepo\node_modules@schematics\angular\utility\find-module.js:81:11)
at findModuleFromOptions (C:\na\dvlp\wks2021\nexus-monorepo\node_modules@schematics\angular\utility\find-module.js:26:38)

Steps:

nx generate app
√ What name would you like for this app? · my-app-web
√ What type of app would like to create? · web
√ In which directory should the app be generated? 'apps'
√ Would you like to configure routing for this app? (Y/n) · true
√ Which frontend framework should it use? · angular
√ Use xplat supporting architecture? (Y/n) · true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions