Next.js collects page data during build, importing modules at module scope. SlackEventManager instantiates SlackClient which threw when SLACK_CLIENT_ID was unset, crashing the build at /api/views-dataroom page collection.
Next.js collects page data during build, importing modules at module scope. SlackEventManager instantiates SlackClient which threw when SLACK_CLIENT_ID was unset, crashing the build at /api/views-dataroom page collection.