Unexpected value null imported by the module t
I faced the same problem when I wanted to build my project by npm run build
I searched for many solutions, but in the none of them helped. The problem's solution was easy!
I am using ng-lazyload-image
and I imported it without curly braces. After adding them around LazyLoadImageModule
vuala it worked. Will be happy if this will help somebody.
Problem:
import LazyLoadImageModule from 'ng-lazyload-image';@NgModule({ imports: [ LazyLoadImageModule,....]})
Solution:
import { LazyLoadImageModule } from 'ng-lazyload-image';@NgModule({ imports: [ LazyLoadImageModule,....]})