I am facing a very weird issue that I cannot build the app locally. I first had this on the weekend but restarting my laptop fixed it after trying a few other things.
Whats worrying is its happened again and restart wont fix it. Also my team mate had this issue today.
So far I have tried:
- delete nod_mods, prune pnpm store, delete pnpm-lock, reinstall (repeat after most steps below)
- update pnpm to latest
- check pnpm Storybook works, it does
- update Next JS to latest
- get latest env var files
- disable nginx on launch so port 3000 is always free
- updated dated to latest mac OS
- no build errors when i run pnpm build
You can see there is no error, it just sticks at this step, any suggestions are welcome at this point, has anyone else faced this issue?
Please help 😅