You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using @trigger.dev/react in Next.js Page Router, importing will cause an error because Page Router modules aren't automatically transpiled to CJS (whereas they are in App Router).
From Next 13.1 onwards, the fix is to the add @trigger.dev/react to the list of transpiled packages in the next.config.js file: