ng build error
See original GitHub issueI’m getting the following error when building my project since adding this library:
ERROR in : Unexpected value 'LoggerTestingModule in /media/ssd/gitlab-ci/builds/d2697ae0/0/mat/mat-client-ts/node_modules/ngx-logger/ngx-logger.d.ts' imported by the module 'TestingModule in /media/ssd/gitlab-ci/builds/d2697ae0/0/mat/mat-client-ts/src/app/testing.module.ts'. Please add a @NgModule annotation.
I have my own testing module which I use for most common imports. The above error is a result of attempting to import LoggerTestingModule
to that module.
I’m using version 3.4.5 of the library. Angular CLI 6.2.1, Node 8.12.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Identify and Fix Build and Deployment Errors in Your Angular ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >angular - build error while using ng build - Stack Overflow
You need to cd into that newly created directory. cd DIRECTORY_NAME_HERE. Then you can do: ng build ng serve // etc.
Read more >Angular CLI ng build fails - Visual Studio Feedback
0 application to compile and I just cant. My setup is: An NPM task with custom command to install the angular cli, command:...
Read more >ng build error: Invalid version: "15.2-15.3" #22606 - GitHub
When i build project with Angular CLI, I get this error: An unhandled exception occurred: Transform failed with 1 error: error: Invalid version: ......
Read more >Toolips ng build –prod error - MDBootstrap
when I was trying to build production of my project we got this error: in Error: TypeError: Cannot read property 'kind' of undefined...
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
found it: https://github.com/ng-packagr/ng-packagr/issues/195
i can send a pr to fix that
Thanks for fast publishing the fix. 🎉