[GH-ISSUE #182] How can I deploy this on vercel #293

Closed
opened 2026-03-15 02:04:08 +03:00 by kerem · 1 comment
Owner

Originally created by @godstark82 on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/arikchakma/maily.to/issues/182

Sorry I am newbie I never used this react-router and vite packages and apps structure before I was curious how can I deploy it to test on vercel or netlify and also when runnig pnpm build on apps/web it is giving this error

@maily-to/web@ build C:\projects\redevs-projects\maily.to\apps\web
react-router build

vite v5.2.10 building for production...
✓ 0 modules transformed.
x Build failed in 16ms
TypeError: [commonjs--resolver] id.endsWith is not a function
at isWrappedId (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/vite@5.2.10_@types+node@22.10.7_lightningcss@1.29.2/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:7983:40)
at Object.resolveId (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/vite@5.2.10_@types+node@22.10.7_lightningcss@1.29.2/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:8197:11)
at file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:20940:40
at PluginDriver.hookFirstAndGetPlugin (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:20840:28)
at resolveId (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:19440:26)
at ModuleLoader.loadEntryModule (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:20235:33)
at async Promise.all (index 0) {
code: 'PLUGIN_ERROR',
plugin: 'commonjs--resolver',
hook: 'resolveId'
}
 ELIFECYCLE  Command failed with exit code 1.

Originally created by @godstark82 on GitHub (Apr 8, 2025). Original GitHub issue: https://github.com/arikchakma/maily.to/issues/182 Sorry I am newbie I never used this react-router and vite packages and apps structure before I was curious how can I deploy it to test on vercel or netlify and also when runnig `pnpm build` on apps/web it is giving this error > @maily-to/web@ build C:\projects\redevs-projects\maily.to\apps\web > react-router build vite v5.2.10 building for production... ✓ 0 modules transformed. x Build failed in 16ms TypeError: [commonjs--resolver] id.endsWith is not a function at isWrappedId (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/vite@5.2.10_@types+node@22.10.7_lightningcss@1.29.2/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:7983:40) at Object.resolveId (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/vite@5.2.10_@types+node@22.10.7_lightningcss@1.29.2/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:8197:11) at file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:20940:40 at PluginDriver.hookFirstAndGetPlugin (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:20840:28) at resolveId (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:19440:26) at ModuleLoader.loadEntryModule (file:///C:/projects/redevs-projects/maily.to/node_modules/.pnpm/rollup@4.31.0/node_modules/rollup/dist/es/shared/node-entry.js:20235:33) at async Promise.all (index 0) { code: 'PLUGIN_ERROR', plugin: 'commonjs--resolver', hook: 'resolveId' }  ELIFECYCLE  Command failed with exit code 1.
kerem closed this issue 2026-03-15 02:04:13 +03:00
Author
Owner

@arikchakma commented on GitHub (Apr 9, 2025):

This is my build setup for Vercel:

Image
<!-- gh-comment-id:2790578092 --> @arikchakma commented on GitHub (Apr 9, 2025): This is my build setup for Vercel: <img width="939" alt="Image" src="https://github.com/user-attachments/assets/5025b790-8796-4c5b-9b3e-d2f249a951a6" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/maily.to#293
No description provided.