angular - Firebase 部署错误:“malloc:无法分配区域”或“分段错误:11”
问题描述
我有一个角度应用程序,我正在尝试将它部署到我的 Firebase 主机。
我不断收到此错误:
node(2216,0x10c6afdc0) malloc: can't allocate region
*** mach_vm_map(size=9494189756595048448) failed (error code=3)
node(2216,0x10c6afdc0) malloc: *** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Abort trap: 6
或者
Segmentation fault: 11
我在 Mac 上使用 Visual Studio Code。这些是我正在使用的一些库:
- 角 CLI:8.3.18
- 节点:12.13.1
- 角度:8.2.13
- @角/cli:8.3.18
- @角/火:5.3.0-rc.1
解决方案
有类似的问题并通过更新解决了firebase-tools
。
npm install -g firebase-tools
推荐阅读
- google-cloud-vision - TextAnnotation blocktype 仅显示文本
- bash - 默认的 root bash 提示符是什么?
- linux - 如何在shell脚本中使用带有某些条件的循环
- html - 我如何创建两个 div 彼此相邻
- assembly - 带有数组的 MIPS while 循环
- html - 链接样式的 CSS 特性
- google-play - Google Play 商店状态 ---> 此项目与您的设备不兼容,该设备应该用于可穿戴设备
- machine-learning - 如何对机器学习的数据进行过采样 - 回归模型(不是分类!)
- python - 使用 librosa 和 Python 提取声音文件特征
- php - CKFinder + Laravel 8 的问题