Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在运行任何角度命令时,我收到此错误 > npm ERR!ENOMEM:内存不足,读取
有什么解决办法吗??
您需要调整节点构建中的最大内存上限以避免此问题。请查看以下支持文章,其中介绍了如何完成此操作:
https://support.circleci.com/hc/en-us/articles/360009208393-How-can-I-increase-the-max-memory-for-Node-
export NODE_OPTIONS=--max-old-space-size=8192