Missing dependency on build (@angular/http)
- 主要言語
- TypeScript
- スター
- 1.6k
- フォーク
- 867
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I have tried to use the ngx-smart-table following the instructions on the project page, but when i serve the project I get the following error:
ERROR in The target entry-point "ngx-smart-table" has missing dependencies:
- @angular/http
- @angular/http/src/interfaces
If I try to use ng2-smart-table, I get a similar error:
ERROR in The target entry-point "ng2-smart-table" has missing dependencies:
- @angular/http
I have added the Ng2SmartTableModule to the dependecies in both the app.module.ts, and my module, and added the import in my component.
My packege json dependencies:
"dependencies": {
"@angular/animations": "~9.0.7",
"@angular/cdk": "^9.0.0",
"@angular/common": "~9.0.7",
"@angular/compiler": "~9.0.7",
"@angular/core": "~9.0.7",
"@angular/forms": "~9.0.7",
"@angular/platform-browser": "~9.0.7",
"@angular/platform-browser-dynamic": "~9.0.7",
"@angular/router": "~9.0.7",
"@nebular/auth": "^5.0.0",
"@nebular/eva-icons": "^5.0.0",
"@nebular/theme": "^5.0.0",
"bootstrap": "^4.4.1",
"eva-icons": "^1.1.2",
"ngx-smart-table": "^2.0.3",
"rxjs": "~6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.900.7",
"@angular-devkit/build-ng-packagr": "~0.900.7",
"@angular/cli": "~9.0.7",
"@angular/compiler-cli": "~9.0.7",
"@angular/language-service": "~9.0.7",
"@schematics/angular": "~9.0.7",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"ng-packagr": "^9.0.0",
"protractor": "~5.4.3",
"ts-node": "~8.3.0",
"tslint": "~5.18.0",
"typescript": "~3.7.5"
}
Anyone has any idea what I'm missing?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。