compiler front-end node memory overflow issue

Compile Problem Description:

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 00007FF6B0EFD1BA v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4506
 2: 00007FF6B0ED7F96 node::MakeCallback+4534
 3: 00007FF6B0ED8910 node_module_register+2032

reference:

Based out of memory compiler front-end node item in question

How do I solve the problem:

  1. Delete the original node_module use npm i reinstall
npm i 

I get this question

Spread

asl-audit

  1. 扫描项目中的漏洞,并显示细节,但是不会解决漏洞
npm audit

Scan Results(It seems the problem has a lot)

Here Insert Picture Description

  1. 扫描项目中的漏洞,并并且兼容的安装更新依赖
npm audit fix

result
Here Insert Picture Description
Content is probably the configuration registry (Taobao Mirror) Can not support the review!

Do not know how to solve, seek the guidance of passing big brother!

  1. Run audit repair time does not change node_modules, but will update the package-lock.json file
npm audit fix --package-lock-only
  1. For detailed audit report in JSON format
npm audit --json
Published 50 original articles · won praise 23 · views 1220

Guess you like

Origin blog.csdn.net/qq_44698161/article/details/103652661