Error when running ng serve
See original GitHub issueIssue type
I’m submitting a … (check one with “x”)
- bug report
- feature request
Issue description
Getting an error while running ng serve
.
Current behavior:
Running ng serve
fails compilation with error: ERROR in node_modules/@nebular/theme/components/layout/layout.module.d.ts(1,22): error TS-996002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class
Expected behavior:
ng serve
should work without any errors.
Steps to reproduce:
- Create new Angular project:
ng new --enable-ivy --inline-style --inline-template --style=scss -v --directory=admin Admin
- Install Nebular:
ng add @nebular/theme
- Run
ng serve
Other information:
npm, node, OS, Browser Same behaviour on Windows 10 and macOS Mojave
Angular, Nebular Angular: 8.0.0, Nebular: 4.0.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:10
Top Results From Across the Web
I have a new project, but when execute ng serve, I get error
I have tryed with ng update @angular/cli, now i get this error: This version of CLI is only compatible with Angular version 5.0.0...
Read more >i got an error while running angular cli by using "ng serve ...
i got an error while running angular cli by using "ng serve"-"You have to be inside an angular-cli project in order to use...
Read more >Ng Serve Angular Compile Time Error - YouTube
Sometimes, perhaps first time when you run the Angular application using ng serve command, you may face this compile time error : /ng.ps1 ......
Read more >ng: command not found (Angular) error [Solved] | bobbyhadz
To solve the error "ng: command not found", install the angular cli package globally by running npm install -g @angular/cli@latest and restart your...
Read more >The serve command requires to be run in an ... - C# Corner
This error often occurs when a project you are running is not an Angular project. It may also be the case when you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue still happen in version 8.2.0-next.2
Hi @Napas, the only thing I can say here is that we haven’t tested Nebular with Ivy yet. If you have a chance to dig in so that we can provide some workaround or fix something in Nebular, that would be great.