vue项目 CALL_AND_RETRY_LAST Allocation failed – JavaScript heap out of memory 修改页面后自动运行报错退出
Vue project: as soon as the page is modified, the automatic operation will report an error and exit (fat error: call_and_retry_last allocation failed – Javascript heap out of memory)
Solution:
step 1: NPM install -g increase memory limit
step 2: increase memory limit
Step 3: Run the project normally, if an error is reported (“node –max-old-space-size=10240″‘ is not an internal or external command, and is not a runnable program)
step 4: Look in the .bin file under node_module and replace “%_prog%” with %_prog% (without the quotes).
step 5: Run the Project normally.
Read More:
- [Solved] Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- [Solved] Project Package Error: Javascript heap out of memory
- [Solved] Vue Compile Error: JavaScript heap out of memory
- [Solved] NPM Error: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
- [Solved] Vue-cli3 running or packaging error: JS memory overflow
- ArcGIS API for JavaScript version 4. X updated and the project startup error: Module parse failed: Unexpected token(… …
- Yarn vue3 modify the name of the source file Error [Solved]
- VUE Error: Vue Error in nextTick: “RangeError: Maximum call stack size exceeded“
- [Solved] Vue route jumps to the same page many times error: Navigationduplicated
- Vue element component V-for error [How to Modify)
- Trigger http request when tab page is closed in angular2+ project
- [Solved] Vue Project Error: Module build failed: Error: Missing binding
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- [Solved] Error spawn CMD enoent errno when starting Vue project: – 4058
- Vue refreshes the current page (no flash screen will appear)
- [Solved] Vue Error: Error in nextTick: “RangeError: Maximum call stack size exceeded“
- “Failed to load resource: net::ERR_FILE_NOT_FOUND” error. The project created by vue-cli 3.0 can run under dev, and an error is reported after packaging, and the page is blank.
- How to open a page in a new window by Vue router
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- Use of $watch in Vue (solve rangeerror: maximum call stack size exceeded)