-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyneeds: more infoReporter must clarify the issueReporter must clarify the issueseverity5: regressiontype: bug/fix
Milestone
Description
🐞 bug report
Affected Package
not sure.
Is this a regression?
Yes.
Angular8 and Angular9 (ivy disabled) works well.
Description
Using both @grapecity/wijmo.angular2.all
library and import-metadata
causes TypeError on bootstrap.
🔬 Minimal Reproduction
ng new
to generate new project.npm i -P @grapecity/wijmo.angular2.all
to install library.- Add
WjGridModule
to AppModule, and edit app.component.html. - Add
import 'reflect-metadata'
in main.ts
https://github.com/noxi515/angular-wijmo-reflect-issue
🔥 Exception or Error
Reflect.js:541 Uncaught TypeError: decorator is not a function
at DecorateConstructor (Reflect.js:541)
at Object.decorate (Reflect.js:130)
at push../node_modules/@grapecity/wijmo.angular2.grid/__ivy_ngcc__/index.js.__decorate (index.js:18)
at index.js:45
at Object../node_modules/@grapecity/wijmo.angular2.grid/__ivy_ngcc__/index.js (index.js:45)
at __webpack_require__ (bootstrap:79)
at Module../src/app/app.module.ts (app.module.ts:1)
at __webpack_require__ (bootstrap:79)
at Module../src/main.ts (main.ts:1)
at __webpack_require__ (bootstrap:79)
🌍 Your Environment
Angular Version:
Angular CLI: 9.0.1
Node: 12.14.1
OS: win32 x64
Angular: 9.0.0
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.900.1
@angular-devkit/build-angular 0.900.1
@angular-devkit/build-optimizer 0.900.1
@angular-devkit/build-webpack 0.900.1
@angular-devkit/core 9.0.1
@angular-devkit/schematics 9.0.1
@angular/cli 9.0.1
@ngtools/webpack 9.0.1
@schematics/angular 9.0.1
@schematics/update 0.900.1
rxjs 6.5.4
typescript 3.7.5
webpack 4.41.2
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyneeds: more infoReporter must clarify the issueReporter must clarify the issueseverity5: regressiontype: bug/fix