Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/30.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular Firebase部署错误:";malloc:can';t分配区域“;或;分段错误:11“;_Angular_Firebase - Fatal编程技术网

Angular Firebase部署错误:";malloc:can';t分配区域“;或;分段错误:11“;

Angular Firebase部署错误:";malloc:can';t分配区域“;或;分段错误:11“;,angular,firebase,Angular,Firebase,我有一个angular应用程序,我正试图将其部署到我的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

我有一个angular应用程序,我正试图将其部署到我的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

我正在Mac上使用Visual Studio代码。 以下是我正在使用的一些库:

  • 角度CLI:8.3.18
  • 节点:12.13.1
  • 角度:8.2.13
  • @角度/cli:8.3.18
  • @角度/火力:5.3.0-rc.1

    • 也有类似的问题,并通过更新
      firebase工具解决了它

      npm install -g firebase-tools
      

      也有类似的问题,并通过更新
      firebase工具
      解决了它

      npm install -g firebase-tools