我在这里束手无策,不知道下一步该做什么。
这是我运行 ng build --prod 时得到的唯一输出
14% building modules 40/40 modules 0 active
我尝试添加详细标志,但没有区别
我尝试开始一个新项目并使用相同的 package.json 依赖项集,看看我是否可以使用ng build -prod
, 我可以运行它。下面我包含了我的 package.json 依赖项。
将文件带入新项目后,我会遇到同样的问题,是我遗漏了什么还是有办法获取更多调试信息?
这是我的 package.json 依赖项
"dependencies": {
"@agm/core": "1.0.0-beta.0",
"@angular/animations": "4.4.3",
"@angular/cdk": "2.0.0-beta.11",
"@angular/common": "4.4.3",
"@angular/compiler": "4.4.3",
"@angular/core": "4.4.3",
"@angular/forms": "4.4.3",
"@angular/http": "4.4.3",
"@angular/material": "2.0.0-beta.11",
"@angular/platform-browser": "4.4.3",
"@angular/platform-browser-dynamic": "4.4.3",
"@angular/router": "4.4.3",
"ack-angular-webcam": "1.3.12",
"amazon-cognito-identity-js": "^1.31.0",
"angular2-jwt": "0.2.3",
"angular2-modal": "3.0.1",
"angular2-signaturepad": "2.6.0",
"animate.css": "3.5.2",
"arrive": "2.4.1",
"bootstrap": "3.3.7",
"bootstrap-notify": "3.1.3",
"bootstrap-select": "1.12.4",
"bootstrap-tagsinput": "0.7.1",
"chart.js": "2.6.0",
"chartist": "0.11.0",
"core-js": "2.4.1",
"domready": "1.0.8",
"googleapis": "20.1.0",
"hammerjs": "2.0.8",
"image-capture": "^0.3.5",
"jasny-bootstrap": "3.1.3",
"jquery": "3.2.1",
"moment": "2.19.2",
"ng2-charts": "1.6.0",
"ng2-currency-mask": "4.3.1",
"ng2-image-compress": "^1.0.17",
"ng2-nouislider": "1.6.1",
"ng2-password-strength-bar": "^1.2.0",
"ng2-pdf-viewer": "1.1.1",
"nouislider": "10.1.0",
"quagga": "0.12.1",
"rxjs": "5.4.2",
"save": "2.3.1",
"sweetalert2": "6.6.6",
"twitter-bootstrap-wizard": "1.2.0",
"validate": "3.0.1",
"web-animations-js": "2.3.1",
"zone.js": "0.8.16"
},
"devDependencies": {
"@angular/cli": "1.2.6",
"@angular/compiler-cli": "4.4.3",
"@types/aws-sdk": "^2.7.0",
"@types/bootstrap": "3.3.36",
"@types/chartist": "0.9.35",
"@types/jasmine": "2.5.53",
"@types/jquery": "3.2.10",
"@types/node": "^8.0.17",
"codelyzer": "3.1.2",
"jasmine-core": "2.7.0",
"jasmine-spec-reporter": "4.1.1",
"karma": "1.7.0",
"karma-chrome-launcher": "2.2.0",
"karma-cli": "1.0.1",
"karma-coverage-istanbul-reporter": "1.3.0",
"karma-jasmine": "1.1.0",
"karma-jasmine-html-reporter": "0.2.2",
"protractor": "5.1.2",
"ts-node": "3.3.0",
"tslint": "5.5.0",
"typescript": "2.4.2",
"webpack-bundle-analyzer": "^2.9.0"
}
任何帮助将不胜感激。