Change the import in checkbox-context.cjs to
var context = require('@chakra-ui/utils/');
However this is only a workaround for local executions! The permanent solution which would work on ci as well is to upgrade your chackra from 2 to 3 as this issue is seem to be a version related one.