Error

uncaughtException [Error: EPERM: operation not permitted, open ‘.next/trace’] { errno: -4048, code: ‘EPERM’, syscall: ‘open’, path: ‘.next\trace’ } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.    

Solution

Delete .next folder and restart your dev.