JavaScript heap out of memory in angular js gulp sourcemap ngannonate with babel

前端 未结 3 649
北荒
北荒 2021-01-28 02:51

I am using es6 syntax in my angular JS project but it throws error when run gulp build, search over github and So but some saying this is error due to gulp uglify w

3条回答
  •  感动是毒
    2021-01-28 03:39

    It could simply be because your app needs a lot of memory to be built; node.js has a hard 1.4Gb limit for memory allocations. See this question on how to increase this limit. Let us know if this helps!

提交回复
热议问题