Skip to content

Conversation

@atinux
Copy link
Contributor

@atinux atinux commented Oct 7, 2025

Using routesDir option let use customize the routes folder to server/routes, allowing us to organize in a server/ directory, useful to put database and utils in it.

@vercel
Copy link

vercel bot commented Oct 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
chat-vue-template Ready Ready Preview Comment Oct 9, 2025 8:19am

@atinux
Copy link
Contributor Author

atinux commented Oct 7, 2025

No working on production, getting this error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'h3' imported from /var/task/index.mjs
    at Object.getPackageJSONURL (node:internal/modules/package_json_reader:255:9)
    at packageResolve (node:internal/modules/esm/resolve:773:81)
    at moduleResolve (node:internal/modules/esm/resolve:859:18)
    at moduleResolveWithNodePath (node:internal/modules/esm/resolve:989:14)
    at defaultResolve (node:internal/modules/esm/resolve:1032:79)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:783:12)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:707:25)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:690:38)
    at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:307:38)
    at ModuleJob._link (node:internal/modules/esm/module_job:183:49) {
  code: 'ERR_MODULE_NOT_FOUND'
}
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.

@atinux atinux merged commit 6d36c0f into main Oct 9, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants