首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >./node_modules/ng2-smart-table/ng2-smart-table.ngfactory.js中的误差

./node_modules/ng2-smart-table/ng2-smart-table.ngfactory.js中的误差
EN

Stack Overflow用户
提问于 2020-03-27 10:34:32
回答 2查看 2.2K关注 0票数 0

我得到了下面的错误。当我做"ng build --prod --aot“时

找不到./node_modules/ng2-smart-table/ng2-smart-table.ngfactory.js模块中的错误:错误:无法解决'C:\Shruthi\Applications\PULSE\Q2-error\pulse\Pulse-web\node_modules\ng2-smart-table'中的

当我做建造的时候一切都很好。

我从昨天就收到了这个错误,昨天之前一切都很好。

它是因为NG2-完成或一些相关的ng建造或角形版本的错误。

下面是我的package.json

代码语言:javascript
复制
{
  "name": "pulse-web",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "compodoc": "compodoc",
    "generate-docs": "compodoc -p src/tsconfig.app.json",
    "serve-docs": "compodoc -s src/tsconfig.app.json"
  },
  "private": true,
  "dependencies": {
    "@akveo/ng2-completer": "^9.0.1",
    "@amcharts/amcharts4": "^4.9.6",
    "@angular/animations": "~7.2.0",
    "@angular/cdk": "~7.2.0",
    "@angular/common": "~7.2.0",
    "@angular/compiler": "~7.2.0",
    "@angular/core": "~7.2.0",
    "@angular/forms": "~7.2.0",
    "@angular/http": "^7.2.16",
    "@angular/material": "~7.2.0",
    "@angular/platform-browser": "~7.2.0",
    "@angular/platform-browser-dynamic": "~7.2.0",
    "@angular/router": "~7.2.0",
    "@compodoc/compodoc": "^1.1.11",
    "@mc-dxp/dxp-styles": "^3.2.1",
    "@mc-dxp/dxp-web": "^4.1.1",
    "@ng-bootstrap/ng-bootstrap": "^4.1.5",
    "@syncfusion/ej2-angular-buttons": "^17.4.49",
    "@syncfusion/ej2-angular-lists": "^17.4.47",
    "@syncfusion/ej2-angular-navigations": "^17.4.49",
    "@types/crypto-js": "^3.1.43",
    "acorn": "^6.1.1",
    "bootstrap": "^4.4.1",
    "core-js": "^2.5.4",
    "jquery": "^3.4.1",
    "jw-angular-pagination": "^1.1.0",
    "moment": "^2.24.0",
    "ng2-completer": "^2.0.8",
    "ng2-smart-table": "^1.5.0",
    "ngx-bootstrap": "^5.3.2",
    "ngx-cookie-service": "^2.3.0",
    "ngx-select-dropdown": "1.3.0",
    "popper.js": "^1.16.1",
    "rxjs": "~6.3.3",
    "rxjs-compat": "^6.5.4",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.13.0",
    "@angular/cli": "~7.3.8",
    "@angular/compiler-cli": "~7.2.0",
    "@angular/language-service": "~7.2.0",
    "@types/node": "~8.9.4",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.2.2"
  }
}

请救救我!找不出原因

EN

回答 2

Stack Overflow用户

发布于 2020-04-23 08:58:24

这似乎是图书馆本身的一个问题。看这个:https://github.com/akveo/ng2-smart-table/issues/1143。在将应用程序升级到角9时,我们也面临着同样的问题。

票数 0
EN

Stack Overflow用户

发布于 2020-12-02 02:31:44

如果你在使用Ang 9

将这些库升级到这些版本

“NG2-完整者”:"^9.0.1",

“NG2-智能表”:"^1.6.0“

“打字本”:"3.8.3“//注显式ie no "~”或"^“

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60884256

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档