1st and main reason is, it is possible if your system is slow. if RAM or SSD configuration is not proper.
2nd is Project is large, then it will take time to compile whole project
3rd is Some old version of the library are there installed.
4th is if node_modules folder is large then it will take time.
5th is you have not used/installed Vite in your project. Basically Vite is helping to reduce the build/run timing.
Maybe other reasons are there. but If we set up high configuration in our Machin/System then it will take less time to run the project.