Questions tagged «ng-build»

15
如何允许本地主机外部访问
如何在Angular2的本地主机之外允许访问?我可以localhost:3030/panel轻松导航,但是写IP之类的IP时却无法导航10.123.14.12:3030/panel/。 能否请允许我解决该问题?我没有使用npm(节点项目管理-节点安装/节点启动)来安装和运行项目。 如果您愿意,我可以提供package.json和index.html。

2
预算警告,初始预算超出上限
当使用--prod构建我的angular 7项目时,我在预算中发出警告。 我有一个Angular 7项目,我想构建它,但是我有一个警告: WARNING in budgets, maximum exceeded for initial. Budget 2 MB was exceeded by 1.77 MB 这些是块详细信息: chunk {scripts} scripts.2cc9101aa9ed72da1ec4.js (scripts) 154 kB [rendered] chunk {0} runtime.ec2944dd8b20ec099bf3.js (runtime) 1.41 kB [entry] [rendered] chunk {1} main.13d1eb792af7c2f359ed.js (main) 3.34 MB [initial] [rendered] chunk {2} polyfills.11b1e0c77d01e41acbba.js (polyfills) 58.2 kB [initial] …

4
ng生成时超出了呼叫重试异常
我在ng build(生成ES5捆绑包以进行差异加载...)时遇到了一个例外。 An unhandled exception occured: Call retires were exceeded 使用的版本: Angular-CLI: 8.3.20 角度: 8.2.7 节点: 12.12.1 在日志中也提到了 [error] Error: Call retries were exceeded at ChildProcessWorker.initialize
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.