You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
As in subject i found error moving from Angular 4.2.5 working project to Angular ^5.0.0 in AngularCli.
2 Warnings and 1 Error
Error: Uncaught Error: Unexpected value 'GaugesModule' imported by the module 'DashModule'. Please add a @NgModule annotation. Change fromimport { GaugesModule } from 'ng-canvas-gauges/lib'; toimport { GaugesModule } from 'ng-canvas-gauges/src';
generate other errors.
Warnings:
./node_modules/ng-canvas-gauges/node_modules/@angular/core/@angular/core.es5.js
5659:15-36 Critical dependency: the request of a dependency is an expression
@ ./node_modules/ng-canvas-gauges/node_modules/@angular/core/@angular/core.es5.js
@ ./node_modules/ng-canvas-gauges/lib/index.js
./node_modules/ng-canvas-gauges/node_modules/@angular/core/@angular/core.es5.js
5675:15-102 Critical dependency: the request of a dependency is an expression
@ ./node_modules/ng-canvas-gauges/node_modules/@angular/core/@angular/core.es5.js
@ ./node_modules/ng-canvas-gauges/lib/index.js
The text was updated successfully, but these errors were encountered:
See also Issue 3 if you want to build in prod mode
*** updates ***
oops. forgot to mention. after i run the initial build (npm install), i removed the node_modules/ng-canvas-gauges/node_modules. then i proceeded to modify the above.
Hello,
As in subject i found error moving from Angular 4.2.5 working project to Angular ^5.0.0 in AngularCli.
2 Warnings and 1 Error
Error:
Uncaught Error: Unexpected value 'GaugesModule' imported by the module 'DashModule'. Please add a @NgModule annotation.
Change from import { GaugesModule } from 'ng-canvas-gauges/lib';
to import { GaugesModule } from 'ng-canvas-gauges/src';
generate other errors.
Warnings:
The text was updated successfully, but these errors were encountered: