我已将我的angular升级到4.0.2,并在发布应用程序时开始看到此间歇性问题。然后,我需要删除所有.js文件以消除错误,以便所有组件都可以再次使用。有人遇到类似的问题吗?我想知道为什么会这样。
{
"name": "wijmo-angular2-sample",
"version": "2.0.0",
"scripts": {
"build": "webpack",
"start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ",
"lite": "lite-server",
"tsc": "tsc",
"tsc:w": "tsc -w",
"typings": "typings"
},
"dependencies": {
"@angular/common": "^4.0.2",
"@angular/compiler": "^4.0.2",
"@angular/core": "^4.0.2",
"@angular/forms": "^4.0.2",
"@angular/http": "^4.0.2",
"@angular/platform-browser": "^4.0.2",
"@angular/platform-browser-dynamic": "^4.0.2",
"@angular/router": "^4.0.2",
"@angular/animations": "^4.0.1",
"@reactivex/rxjs": "^5.5.3",
"angular2-fontawesome": "^0.9.3",
"angular2-moment": "^1.7.0",
"core-js": "^2.4.1",
"font-awesome": "^4.7.0",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"angular2-template-loader": "^0.6.2",
"babel-cli": "^6.26.0",
"babel-plugin-lodash": "^3.2.11",
"babel-preset-es2015": "^6.24.1",
"color-convert": "^1.9.1",
"concurrently": "^2.2.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.23.1",
"file-loader": "^0.9.0",
"lite-server": "^2.2.2",
"lodash": "^4.17.10",
"lodash.clonedeep": "^4.5.0",
"momentjs": "^2.0.0",
"multiplexjs": "^1.0.0",
"ng-bootstrap": "^1.6.3",
"node-sass": "^4.9.0",
"polyfills": "^2.1.1",
"reflect-metadata": "^0.1.12",
"rxjs": "^6.2.0",
"sass-loader": "^7.0.3",
"style-loader": "^0.13.1",
"tinycolor2": "^1.4.1",
"ts-loader": "^0.8.1",
"tslint": "^5.10.0",
"tslint-loader": "^3.6.0",
"typescript": "^2.7.2",
"underscore": "^1.9.1",
"url-loader": "^0.5.7",
"webpack": "^1.15.0",
"webpack-watch-time-plugin": "^0.1.2",
"wijmo": "^5.20181.462",
"zone.js": "^0.6.26"
}
}