Skip to content
This repository was archived by the owner on Oct 9, 2021. It is now read-only.
This repository was archived by the owner on Oct 9, 2021. It is now read-only.

Fail when compiling module #13

@Emeshka

Description

@Emeshka

I have installed sass-loader, postcss-loader and raw-loader. When I include MyDatePickerModule in app.module.ts imports:
...
import {MyDatePickerModule} from 'angular2-datepicker';
imports: [
MyDatePickerModule,
...
]
I try to build my application and get this error:

ng build

0% compiling
Compiling @angular/core : module as esm5

chunk {main} main.js, main.js.map (main) 623 bytes [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 668 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 16.3 kB [initial] [rendered]
Date: 2021-03-30T10:53:28.063Z - Hash: 8a6f4da178d1281e1abb - Time: 9770ms

WARNING in Entry point '@angular/core' contains deep imports into 'D:/1_documents/graphytica-angular/angular-electron/node_modules/angular2-datepicker/node_modules/rxjs/symbol/observable', 'D:/1_documents/graphytica-angular/angular-electron/node_modules/angular2-datepicker/node_modules/rxjs/Subject', 'D:/1_documents/graphytica-angular/angular-electron/node_modules/angular2-datepicker/node_modules/rxjs/Observable'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

ERROR in Importing unexpected symbol ɵɵinvalidFactory while compiling @angular/core

When I remove import it builds perfectly. So, sorry, I'm just not able to use this component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions