Solve vue memory overflow error
1. Memory overflow error occurs when the project is too large and installed globally.
npm install -g increase-memory-limit
2. View the project directory
increase-memory-limit
3. Set the size and execute again
increase-memory-limit 4096mb
npm run serve
4. If it is not completely resolved, continue to read it. If it has been resolved, do not read it.
1> In vscode, click File, click Preferences, click Settings
2> Search for Exclude in search, find Search Exclude, and delete **/node_modules
3> Then click Edit, click Replace to replace "%_prog%" with %_prog% (that is, remove the double quotes)
4> Restart the project to solve the problem!
npm run serve