Astro Info
npx astro info
Astro v5.14.1
Vite v6.3.6
Node v22.19.0
System macOS (arm64)
Package Manager npm
Output static
Adapter @astrojs/node (v9.4.5)
Integrations @astrojs/react (v4.4.0)
If this issue only occurs in one browser, which browser is a problem?
Describe the Bug
- Create a new minimal app
- Add Node.js adapter
- Make at least one route
prerender = false
npm run build && node dist/server/entry.mjs
- Load the page with the non-prerendered route
What's the expected result?
Should work, but instead:
13:22:35 [build] Server built in 777ms
13:22:35 [build] Complete!
13:22:35 [@astrojs/node] Server listening on http://localhost:4321
13:22:37 [ERROR] [@astrojs/node] Could not render /dynamic
TypeError: app.getAllowedDomains is not a function
at file:///Users/xxx/Documents/GitHub/astro-styling-test/dist/server/chunks/_@astrojs-ssr-adapter_BrwZ3t3_.mjs:3823:29
at file:///Users/xxxx/Documents/GitHub/astro-styling-test/dist/server/chunks/_@astrojs-ssr-adapter_BrwZ3t3_.mjs:4079:35
at SendStream.<anonymous> (file:///Users/xxx/Documents/GitHub/astro-styling-test/dist/server/chunks/_@astrojs-ssr-adapter_BrwZ3t3_.mjs:4011:9)
at SendStream.emit (node:events:519:28)
at SendStream.error (/Users/xxx/Documents/GitHub/astro-styling-test/node_modules/send/index.js:168:17)
at SendStream.onStatError (/Users/xxx/Documents/GitHub/astro-styling-test/node_modules/send/index.js:315:12)
at next (/Users/xxx/Documents/GitHub/astro-styling-test/node_modules/send/index.js:621:16)
at onstat (/Users/xxx/Documents/GitHub/astro-styling-test/node_modules/send/index.js:609:14)
at FSReqCallback.oncomplete (node:fs:197:21)
Link to Minimal Reproducible Example
Participation
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Describe the Bug
prerender = falsenpm run build && node dist/server/entry.mjsWhat's the expected result?
Should work, but instead:
Link to Minimal Reproducible Example
Participation