我尝试运行ng build --prod
命令,我的应用程序
但是如果我运行ng build
命令,我不会遇到任何问题:
这是在部署“ ngx-bootstrap-product-tour”软件包之后发生的。
我的应用程序设置:
"dependencies": {
"@angular/animations": "^5.2.0",
"@angular/common": "^5.2.0",
"@angular/compiler": "^5.2.0",
"@angular/core": "^5.2.0",
"@angular/forms": "^5.2.0",
"@angular/http": "^5.2.0",
"@angular/platform-browser": "^5.2.0",
"@angular/platform-browser-dynamic": "^5.2.0",
"@angular/router": "^5.2.0",
"@ng-bootstrap/ng-bootstrap": "^2.0.0",
"angular2-notifications": "^1.0.2",
"angular2-text-mask": "^9.0.0",
"bootstrap": "^4.1.3",
"classlist.js": "^1.1.20150312",
"core-js": "^2.4.1",
"json-typescript-mapper": "^1.1.3",
"jwt-decode": "^2.2.0",
"ng2-go-top-button": "^6.0.0",
"ng4-loading-spinner": "^1.1.3",
"ngx-bootstrap": "^3.0.1",
"ngx-bootstrap-product-tour": "^2.0.2",
"ngx-clipboard": "^11.1.1",
"rxjs": "^5.5.6",
"web-animations-js": "^2.3.1",
"zone.js": "^0.8.19"
}
}
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"baseUrl": ".",
"paths": {
"@app/*": ["app/*"]
},
"module": "es2015",
"types": []
},
"exclude": [
"test.ts",
"**/*.spec.ts"
]
}
我该如何解决这个问题?