我正在使用angular 4.I创建一个新项目。卸载节点模块并重新安装但没有运气。
>错误在./node_modules/@angular/core/esm5/core.js找不到模块:TypeError:dep.isEqualResource不是函数这是我的package.json
{
"name": "fozo-app",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@agm/core": "^1.0.0-beta.0",
"@angular-generic-table/core": "4.12.0",
"@angular/animations": "^4.4.6",
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.4.7",
"@angular/forms": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"@ng-bootstrap/ng-bootstrap": "1.0.0-beta.4",
"@ngui/auto-complete": "^0.16.1",
"@progress/kendo-angular-dateinputs": "^2.2.0",
"@progress/kendo-angular-intl": "^1.3.2",
"@progress/kendo-angular-l10n": "^1.0.7",
"@qontu/ngx-inline-editor": "^0.2.0-alpha.12",
"agm-direction": "^0.4.0",
"angular-star-rating": "^2.0.0-rc.5",
"angular2-google-place": "^2.0.2",
"angular2-image-upload": "^1.0.0-rc.1",
"angular2-lightbox": "^1.2.1",
"angular2-moment": "^1.8.0",
"angular2-signaturepad": "^2.7.0",
"angular2-tag-input": "^1.2.3",
"angular2-toaster": "^4.0.2",
"angular2-ui-switch": "git+https://github.com/daominhsangvn/angular2-ui-switch.git",
"bootstrap": "^4.0.0-beta.2",
"bxslider": "^4.2.13",
"core-js": "^2.4.1",
"dragula": "^3.7.2",
"font-awesome": "^4.7.0",
"jquery": "^3.2.1",
"lodash": "4.17.4",
"mdi": "^2.0.46",
"moment": "^2.21.0",
"ng2-auto-complete": "^0.12.0",
"ng2-breadcrumb": "^0.5.14",
"ng2-component-spinner": "^0.2.1",
"ng2-dragula": "^1.5.0",
"ng2-file-upload": "^1.3.0",
"ng2-inline-editor": "^0.1.1-alpha.20",
"ng2-ion-range-slider": "^1.0.3",
"ng2-nouislider": "^1.7.7",
"ng2-page-scroll": "^4.0.0-beta.12",
"ng2-rating": "0.0.7",
"ng2-select": "^2.0.0",
"ng2-toastr": "^4.1.2",
"ngx-facebook": "^2.4.0",
"ngx-infinite-scroll": "^0.7.0",
"ngx-lazy-load-images": "^1.1.0",
"node-sass": "^4.7.2",
"nouislider": "^11.0.3",
"rimraf": "^2.6.2",
"rxjs": "^5.5.1",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular-devkit/core": "^0.5.6",
"@angular/cli": "^1.5.0",
"@angular/compiler-cli": "^4.0.0",
"@angular/language-service": "^4.0.0",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/jquery": "^3.2.11",
"@types/lodash": "4.14.86",
"@types/node": "~6.0.60",
"babel": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"codelyzer": "~3.0.1",
"html-webpack-plugin": "^3.2.0",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2",
"ts-node": "~3.0.4",
"tslint": "~5.3.2",
"typescript": "^2.3.3",
"webpack": "^4.2.0",
"webpack-dev-server": "^3.1.1",
"webpack-dll-bundles-plugin": "^1.0.0-beta.5",
"webpack-merge": "^4.1.2",
"webpack-cli": "^2.1.4",
"webpack-dev-middleware": "^3.1.3"
}
}
我收到了以下错误。
ERROR in ./node_modules/@angular/core/@angular/core.es5.js
Module not found: TypeError: dep.isEqualResource is not a function
我该如何解决这个问题。
请建议我。