Javascript ag电网企业在角度上使用it的问题

Javascript ag电网企业在角度上使用it的问题,javascript,angular2-routing,ag-grid,Javascript,Angular2 Routing,Ag Grid,我试图在我的应用程序中使用ag grid enterprise,但我不能 对于angular,在app.module.ts中,我有以下几点: import { AgGridModule } from "ag-grid-angular/main"; 并将 import "ag-grid-enterprise/main"; "ag-grid-angular-enterprise": "^13.0.0", 在package.json中,我有 "ag-grid-angular": "^8.2.0"

我试图在我的应用程序中使用ag grid enterprise,但我不能

对于angular,在app.module.ts中,我有以下几点:

import { AgGridModule } from "ag-grid-angular/main";
并将

import "ag-grid-enterprise/main";
"ag-grid-angular-enterprise": "^13.0.0",
在package.json中,我有

"ag-grid-angular": "^8.2.0",
(y además incorporo) 并将

import "ag-grid-enterprise/main";
"ag-grid-angular-enterprise": "^13.0.0",
在未设置许可证或未设置许可证的情况下,编译我时没有问题,但应用程序未加载,它会给我以下错误:

excelCreator.js:8 Uncaught TypeError: Object prototype may only be an Object or null: undefined
    at setPrototypeOf (<anonymous>)
    at __extends (excelCreator.js:8)
    at excelCreator.js:204
    at Object.setPrototypeOf.__proto__ (excelCreator.js:279)
    at __webpack_require__ (bootstrap 1e9ae7b3a7a54d7fb70d:52)
    at Object.setPrototypeOf.__proto__ (main.js:24)
    at __webpack_require__ (bootstrap 1e9ae7b3a7a54d7fb70d:52)
    at Object.defineProperty.value (main.js:1)
    at __webpack_require__ (bootstrap 1e9ae7b3a7a54d7fb70d:52)
    at Object.602 (app.component.ts:10)
    at __webpack_require__ (bootstrap 1e9ae7b3a7a54d7fb70d:52)
    at Object.582 (main.bundle.js:9123)
    at __webpack_require__ (bootstrap 1e9ae7b3a7a54d7fb70d:52)
    at Object.1132 (main.bundle.js:21)
    at __webpack_require__ (bootstrap 1e9ae7b3a7a54d7fb70d:52)
excelCreator.js:8未捕获类型错误:对象原型只能是对象或null:未定义
在setPrototypeOf()处
at__扩展(excelCreator.js:8)
在excelCreator.js:204
在Object.setPrototypeOf.\uuuuu proto\uuuuu(excelCreator.js:279)
at _uu网页包uuu需要uuuuu(引导1e9ae7b3a7a54d7fb70d:52)
在Object.setPrototypeOf.\uuuu proto\uuuuu(main.js:24)
at _uu网页包uuu需要uuuuu(引导1e9ae7b3a7a54d7fb70d:52)
位于Object.defineProperty.value(main.js:1)
at _uu网页包uuu需要uuuuu(引导1e9ae7b3a7a54d7fb70d:52)
at Object.602(应用组件ts:10)
at _uu网页包uuu需要uuuuu(引导1e9ae7b3a7a54d7fb70d:52)
在Object.582(main.bundle.js:9123)
at _uu网页包uuu需要uuuuu(引导1e9ae7b3a7a54d7fb70d:52)
at Object.1132(main.bundle.js:21)
at _uu网页包uuu需要uuuuu(引导1e9ae7b3a7a54d7fb70d:52)
这可能会发生吗

我做错了什么?

解决了

Ag网格包将作为Ag网格企业版包使用13.3.1

问候