Possible errors:
1. error Command failed with exit code 134 error
2. The project is so large that the project starts slowly. After starting, modifying the project immediately stops and needs to be restarted
Solution
1. Use window+R to open the control panel for global installation:
npm run fix-memory-limit
After the installation is complete, enter the directory where the project is located and execute the following command:
increase-memory-limit
If the error ' node --max-old-space-size=10240' is not an internal or external command, nor is it a runnable program
Global search "%_prog%" and replace it with %_prog% Remove the quotation marks as shown in the figure
If you can’t find it, open “File=>Preferences=>Settings” and search for Search:Exclude, delete the circled part as shown in the picture, and you can replace it globally
Note that this is in node_modules. If you want to search globally, remove the node_modules option in the Search:Exclude file and then restore it after searching.
Now you can replace them all
Execute again after replacing
increase-memory-limit