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
我用的是angular-cli开发项目,用了ngx-echarts后,没有问题,页面也可以正常显示,当我重新ng serve的时候,会出现异常 ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Co nsider replacing the function or lambda with a reference to an exported function, resolving symbol NgModule in /node_modules/_ngx-echarts@1.2.0@ngx-echarts/node_modules/@angular/core/core.d.ts, resolving symbol Angular EchartsModule in /node_modules/_ngx-echarts@1.2.0@ngx-echarts/index.d.ts, resolving symbol AngularEchartsModule in /node_modules/_ngx-echarts@1.2.0@ngx-echarts/index.d. ts,
再次complie又成功了,所以就没放在心上。
但当我用ng build --prod 打包项目的时候就会抛出同样的错误: ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in E:master/project/node_modules/ngx-echarts/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in E:/master/project/node_modules/ngx-echarts/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in E:/master/project/node_modules/ngx-echarts/node_modules/@angular/core/core.d.ts
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'E:\master\project\s
rc'
@ ./src/main.ts 5:0-74
@ multi ./src/main.ts`
The text was updated successfully, but these errors were encountered:
我用的是angular-cli开发项目,用了ngx-echarts后,没有问题,页面也可以正常显示,当我重新ng serve的时候,会出现异常
ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Co nsider replacing the function or lambda with a reference to an exported function, resolving symbol NgModule in /node_modules/_ngx-echarts@1.2.0@ngx-echarts/node_modules/@angular/core/core.d.ts, resolving symbol Angular EchartsModule in /node_modules/_ngx-echarts@1.2.0@ngx-echarts/index.d.ts, resolving symbol AngularEchartsModule in /node_modules/_ngx-echarts@1.2.0@ngx-echarts/index.d. ts
,再次complie又成功了,所以就没放在心上。
但当我用ng build --prod 打包项目的时候就会抛出同样的错误:
ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in E:master/project/node_modules/ngx-echarts/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in E:/master/project/node_modules/ngx-echarts/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in E:/master/project/node_modules/ngx-echarts/node_modules/@angular/core/core.d.ts
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'E:\master\project\s
rc'
@ ./src/main.ts 5:0-74
@ multi ./src/main.ts`
The text was updated successfully, but these errors were encountered: