scss exceeded maximum budget. Budget 4.00 kB was not met by 130 bytes with a total of 4.13 kB.
项目打包上传服务器时报错,
scss超出预算。
解决办法
在项目工程中的 angular.json 中修改内存的参数设定值即可,具体 code 如下:
将其设置的最大警告/最大报错值设置更大的值:
"budgets": [{"type": "initial","maximumWarning": "2mb","maximumError": "5mb"},{"type": "anyComponentStyle","maximumWarning": "2mb","maximumError": "5mb"}],
再次运行就好了,可以disk的内容到nginx里了。
获取部署了nginx的远程主机放入访问即可。
scss exceeded maximum budget. Budget 4.00 kB was not met by 130 bytes with a total of 4.13 kB.相关推荐
- 在angular 项目中使用 `npm run build` 出现 `* exceeded maximum budget` 警告或错误
在angular 项目中使用 npm run build 出现 * exceeded maximum budget 警告或错误 Warning or Error in exceeded maximum ...
- bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 642.91 kB with a total of 1.63
Angular 项目迁移后第一次 build 打包后抛出了如下的异常提示: bundle initial exceeded maximum budget. Budget 1.00 MB was not ...
- AngularCI/CD:Error: initial exceeded maximum budget
Angular项目在在走CI/CD流程时,出现以下错误: Warning: initial exceeded maximum budget. Budget 2.00 MB was not met by ...
- 在使用开源IOT平台Thingsboard时,遇到的编译问题一initial exceeded maximum budget
在编译thingsboard时,出现了一下错误 WARNING in budgets: initial exceeded maximum budget. Budget 9 MB was not met ...
- 【转】iphone - ios app maximum memory budget
[转]iphone - ios app maximum memory budget https://stackoverflow.com/questions/5887248/ios-app-maximu ...
- 【翻译自mos文章】rman 备份时报:ORA-02396: exceeded maximum idle time
rman 备份时报:ORA-02396: exceeded maximum idle time 參考原文: RMAN backup faling with ORA-02396: exceeded ma ...
- openstack创建实例报错Exceeded maximum number of retries
Error: 实例 "vm2" 执行所请求操作失败,实例处于错误状态.: 请稍后再试 [错误: Exceeded maximum number of retries. Exceed ...
- Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance
Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance
- Ora-24067: exceeded maximum number of subscribers for queue
Ora-24067: exceeded maximum number of subscribers for queue sys.scheduler$event_queue 这种问题是队列满了,找到队列 ...
最新文章
- effective C++ 条款 21:必须返回对象时别妄想返回其reference
- 【CodeForces - 1102C 】Doors Breaking and Repairing (思维,简单博弈)
- Apache IoTDB 物联网数据库引擎
- 【U+】U+通用财务数据库测试失败,无法保存。
- 了解算法交易,此篇足矣
- 【1】EFR32配置433Mhz(可通信CC1101)——EFR32 项目例程打开和烧录
- 【STM32】【HAL库】【实用制作】数控收音机(软件设计)
- 国稻种芯绿色沃土计划 农业大健康-万祥军:对话化肥惹的祸?
- 阿里云大数据开发一面面经,已过,面试题已配答案
- Smali语法学习三
- Kattis Problem-Unique Snowflakes
- 向量范数与矩阵范数定义和python向量矩阵运算示例
- matlab 将数据存为txt文件,怎么用matlab将数据存为txt文件
- radmin自动启动服务器,Radmin自动登录器及服务端一键部署
- 【转载】Motorola Samsung Nokia策略比较
- 无人便利店是风口吗?来看看行业人士怎么说
- 这款云盘在国内表现很惊艳了!
- OCP-1Z0-051 第79题 TRIM,REPLACE,LOWER函数
- 信息检索(IR)的评价指标介绍
- 面试经历---广州多益网络(2015年11月5日下午)
热门文章
- “低碳生活,绿建未来”主题活动——微信运动步数打卡比赛统计分析
- 用P、V操作解决进程同步问题的解题步骤
- CDS ORF 启动子 终止子 转录因子 基因结构 UTR
- 支付宝广告投放形式有哪些?支付宝广告的投放方向!
- java语音从哪里开始学_想学习编程,应该从哪里开始学习呢?
- Vagrant + VMBox 踩坑记录
- html里怎么旋转视频文件,如何旋转视频文件(方法三)
- 学计算机高考英语听力考试时间,2020年北京高考英语听力首次机考时间定为12月14日...
- java.lang.IllegalArgumentException: interface UserMapper is not visible from class loader
- wp下载吧主题模板_内含newzhan2.60无授权版本