Vercel Deployment Issue: Stuck at Initialize path-to-regexp@6.3.0

Issue Description

I’m trying to deploy a Deno Oak project (GitHub - Quick-Bin/qbin: ✨ 专业的在线编辑分享平台 | Monaco 代码编辑 + Markdown 实时预览 | 支持密码保护和自定义链接 | PWA 离线支持 | 多级缓存加速) to Vercel. The deployment works fine on Docker but gets stuck during Vercel deployment at:

Download https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz 
Initialize path-to-regexp@6.3.0

The deployment eventually times out without completing.

Project Information

Technical Details

The issue appears to be related to the path-to-regexp dependency, which is a critical component for Oak’s routing system as Oak uses it to convert routes to regular expressions for URL parameter handling.

Troubleshooting Steps Attempted

  • Successfully deployed via Docker
  • Standard Vercel deployment process fails at dependency resolution