New user here. I'm receiving the following error trying to deploy a svletekit app to Vercel. The app works wonderfully on my local workstation. Any guidance on what to check/do next would be much appreciated. google is not helping me find a resolution.
error during build:
15:29:01.299
[vite]: Rollup failed to resolve import "postgres" from "/vercel/path0/src/db/index.ts".
15:29:01.299
This is most likely unintended because it can break your application at runtime.
15:29:01.299
If you do want to externalize this module explicitly add it to
15:29:01.299
build.rollupOptions.external
dependencies from package.json: "devDependencies": { "/fira-mono": "^5.0.0", "/svelte": "^2.0.0", "/adapter-vercel": "^5.6.3", "/kit": "^2.16.0", "/vite-plugin-svelte": "^5.0.0", "/forms": "^0.5.9", "/typography": "^0.5.15", "/vite": "^4.0.0", "/pg": "^8.15.2", "drizzle-kit": "^0.31.1", "prettier": "^3.4.2", "prettier-plugin-svelte": "^3.3.3", "prettier-plugin-tailwindcss": "^0.6.11", "svelte": "^5.25.0", "svelte-check": "^4.0.0", "tailwindcss": "^4.0.0", "typescript": "^5.0.0", "vite": "^6.2.6" }, "dependencies": { "drizzle-orm": "^0.43.1" }