腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
ng
build
--
prod
在
Terser
上
失败
javascript
、
node.js
、
angular
、
typescript
、
webpack
我
在
angular 7应用程序
上
运行
ng
build
--
prod
(包括BE
上
的vs C#应用程序)。我收到一个错误 ERROR in scripts.db02b1660e4ae815041b.js from
Terser
Unexpected token: keyword (var) [scripts.db02b1660e4ae815041b.js
浏览 43
提问于2019-06-24
得票数 1
回答已采纳
8
回答
角-cli:如何忽略被缩小的类名
angular
、
typescript
、
angular-cli
、
bundling-and-minification
我们需要保持类名不缩小,因为我们使用export class myObject{ ... }吴建民 类名
在
随机名称中被缩小
浏览 16
提问于2017-05-24
得票数 20
回答已采纳
1
回答
当
ng
生成-
prod
“不能否定语句”时出错。
angular
、
npm
、
webpack
、
terser
/node_modules/..bin/
ng
构建-
prod
-基-href /project 主程序中的 错误-es2015.110a0182c67c95b8de43(/node_modules/
terser
-webpack-plugin/node_modules/
terser
/dist/bundle.min.js:1:175355)
在
(/node_modu
浏览 2
提问于2021-07-30
得票数 0
1
回答
Angular on Docker:无效的标记-堆附近的压缩限制分配
失败
- JavaScript堆内存不足
node.js
、
angular
、
docker
、
npm
、
.net-core
/dist/bundle.min.js:1] [byt... 2: 0x9d9f56(v8::internal::Isolate*, char const*, bool) [
ng
build
--
prod
--
prod
] 4: 0xb38139 v8::internal::V8:() [
ng
<
浏览 5
提问于2019-11-16
得票数 0
回答已采纳
1
回答
scrips.xxx.js中由无效赋值引起的错误
angular
、
ng-build
、
terser
在
命令"
ng
build
“之后,我得到一个错误:Hash: 87e16a832fe7eaf96031scripts.5f11b62514f5238edd2a.js中的测量误差 我已经尝试将package.json中的
terser
更改为3.14.1,就像其他线程所说的通过n
浏览 0
提问于2019-04-18
得票数 2
1
回答
Jenkins中的Angular
prod
构建
失败
angular
、
jenkins
、
npm
标准的DEV构建运行良好,但当我执行
ng
build
--
prod
时,它显示"
ng
: command not fine“。当使用npm run
ng
build
-- --
prod
运行命令时,它会显示"line 1: 6910 Killed“,后跟
失败
的命令sh
浏览 31
提问于2021-06-08
得票数 0
回答已采纳
1
回答
为什么
ng
build
--
prod
失败
,而
ng
build
成功?
angular
、
build
、
angular-material
ng
服务和
ng
构建工作得很好。但是当我开始
ng
build
--
prod
时,它给出了下面的错误。 "tslib": "^1.9.0", }, "@angular-devkit/
build
-angu
浏览 0
提问于2019-04-10
得票数 5
11
回答
错误:t没有提供程序
angular
、
angular5
我试图通过
ng
build
将我的角码编译成生产模式,但是
在
浏览器中我得到了错误:当我只运行
ng
构建时,html就可以正常工作了。 "start": "
ng</em
浏览 6
提问于2017-11-20
得票数 29
回答已采纳
2
回答
BitBucket管道无法构建生产角度代码(暂存和本地机器工作)
angular-cli
、
bitbucket-pipelines
Staging工作得很好,production
在
我的本地服务器上工作得很好,但在Pipeline
上
却不行。
失败
的日志如下,我不知道为什么它会
失败
: "
build
:
prod
": "
ng
build
--
prod
" + npm run
build
:
prod
> mobile-app@1.1.2
build
:
prod
(int
浏览 18
提问于2021-01-31
得票数 5
1
回答
在上用Docker构建角应用程序
失败
angular
、
docker
、
google-cloud-platform
、
google-container-builder
我试图
在
GCP
上
使用‘’构建具有以下Dockerfile的Angular应用程序,但错误代码
失败
了RUN $(npm bin)/
ng
--version ##
Build
the angular app in production-
prod
--aot --
浏览 2
提问于2018-08-20
得票数 1
回答已采纳
2
回答
Angular run AOT + Rollup编译与
ng
serve?
angular
、
angular2-aot
、
aot
我
在
我的angular2项目中有以下脚本,通常当我想运行项目时,我使用的命令是
ng
serve…(start-
prod
,start-uat,start-dev) "
ng
": "
ng
", "start-
prod
浏览 3
提问于2017-09-06
得票数 0
7
回答
“意外令牌: punc ()”在为生产构建时
angular
、
eslint
如果我尝试用
ng
build
--
prod
--aot测试构建我的应用程序,我会得到以下非常短的错误消息:我已经试过rm -rf node_modules/了。": "
ng
", "
build
": "
浏览 0
提问于2019-01-26
得票数 28
回答已采纳
1
回答
在
构建我的Angular应用程序时出现错误
node.js
、
angular
、
docker
、
nginx
、
npm
我已经安装了Angular 8,当我
在
GitHub Actions中构建我的应用程序时,我得到了下一个错误。errno 1 我的dockerfile是 FROM node:11.15.0-alpine as
build
-stepCOPY package.json ./COPY docker&
浏览 21
提问于2020-03-31
得票数 0
回答已采纳
2
回答
“
ng
build
”与“
ng
build
”中的不一致
angular
、
angular-cli
使用
ng
build
ng
build
--
prod
谢谢
浏览 1
提问于2018-03-02
得票数 11
回答已采纳
2
回答
为什么
ng
构建在azureDevOps
上
失败
?
angular
、
azure-devops
我试着用Azure做CI/CD,下面的任务
失败
了。以下是package.json文件的信息:"
ng
": "
ng
","
build
": "
ng
build
--
prod
", 我尝试过移除--
prod<
浏览 1
提问于2019-10-22
得票数 3
回答已采纳
4
回答
如何在生产模式下发布角文件?
.net
、
visual-studio
、
asp.net-core
、
angular-cli
="$(SpaRoot)node_modules\**" /> <Target Name="DebugEnsureNodeEnv" BeforeTargets="
Build
= '0'" Text="Node.js is required to
build
and run this project.WorkingDirectory="$(SpaRoot)" Command
浏览 1
提问于2019-04-01
得票数 1
回答已采纳
3
回答
[内容:20].js]:错误:
Terser
因未知原因
失败
angular
、
npm
我
在
构建我的角度应用程序1:时有一个错误
浏览 4
提问于2022-10-24
得票数 1
1
回答
如何在
ng
构建之前运行
ng
测试--当
ng
测试
失败
时,
prod
和fail jenkins作业?
angular
、
jenkins
、
angular-cli
早些时候,我使用了angular-cli的systemJS版本,每当我使用jenkins的构建时,如果有任何测试用例
失败
,构建都会
失败
。我刚刚使用了
ng
build
--
prod
命令来构建我的项目。 现在,对于angular-cli的webpack版本,我们必须显式地运行
ng
test。如何在jenkins中检查
ng
test是否成功并继续使用
ng
build
--
prod
,否则构建会
失败
?
浏览 3
提问于2016-11-02
得票数 11
3
回答
如何在开发模式下为角应用服务?
angular
、
typescript
ng
serve --environment=dev"environments": { "dev": "environments&
浏览 0
提问于2018-04-30
得票数 14
1
回答
角5丑陋的构建返回错误
javascript
、
angular
、
uglifyjs
开发和
prod
构建工作非常好。没有错误或警告。 "version": "0.1.0", "scrip
浏览 2
提问于2017-11-16
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Nginx+Tomcat部署Angular+javaweb项目的操作
Angular5 笔记
Angular 9即将发布:改进Ivy编译和渲染管道
webpack 入门实践(一)
容器时代中的持续集成-Part 1
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券