Go to File > Build settings…
Depending on the platform there will be different details.
Choose where to save the project.
Don’t save it in the main project folder.
The build will take a while
Make sure you have time for it to complete.
If asked to give access to Node.js allow access.