Closed zvyezdan closed 2 years ago
what version of ngx-toastr are you using
$ npm list | grep ngx-toastr └── ngx-toastr@14.2.1
Here's some more of compile output that looks relevant.. .possibly
[INFO] > ng build --configuration=local --output-hashing none && node build-elements.js
[INFO]
[ERROR] - Generating browser application bundles (phase: setup)...
[ERROR] Warning: Entry point 'ngx-papaparse' contains deep imports into 'c:/tools/workspace/comp/comp-uservice/col-uservice/col-application-uservice/frontend/node_modules/papaparse/papaparse.min.js'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
[ERROR] Warning: Entry point 'ngx-toastr' contains deep imports into 'c:/tools/workspace/comp/comp-uservice/col-uservice/col-application-uservice/frontend/node_modules/@angular/compiler/src/core'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
[ERROR] Processing legacy "View Engine" libraries:
[ERROR] - @tinymce/tinymce-angular [es2015/esm2015] (https://github.com/tinymce/tinymce-angular.git)
[ERROR] - @ng-bootstrap/ng-bootstrap [es2015/esm2015] (git+https://github.com/ng-bootstrap/ng-bootstrap.git)
[ERROR] - ngx-papaparse [es2015/esm2015] (https://github.com/alberthaff/ngx-papaparse)
[ERROR] - ngx-toastr [es2015/esm2015] (scttcper/ngx-toastr)
[ERROR] Encourage the library authors to publish an Ivy distribution.
[ERROR] √ Browser application bundle generation complete.
[ERROR] √ Browser application bundle generation complete.
[ERROR]
[ERROR] Error: node_modules/ngx-toastr/toastr/toast-noanimation.component.d.ts:1:10 - error TS2305: Module '"@angular/compiler/src/core"' has no exported member 'ModuleWithProviders'.
[ERROR]
[ERROR] 1 import { ModuleWithProviders } from '@angular/compiler/src/core';
[ERROR] ~~~~~~~~~~~~~~~~~~~
How are you importing ngx-toastr and also try removing your node_modules and reinstalling
Ah... that's what it is...
"ngx-toastr": "^10.1.0",
thanks for quick response, fully appreciated! Cheers!
Hello,
trying to maven compile
and getting this error:
The env is as follows:
This very much looks like a version conflict.... appreciate any insight!
Thanks! Dan