Hi, I'm having an issue building an SSR app for Cloudflare. The site builds fine when not using SSR.
The error when running astro build (there's many more for other packages):```
finalizing server assets
10:58:18 PM [build] Rearranging server assets...
✘ [ERROR] Could not resolve "os"
dist/$server_build/_worker.mjs:3:7:
3 │ import 'os';
╵ ~~~~
The package "os" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
My `astro.config.mjs`:```mjs
import { defineConfig } from "astro/config";
// https://astro.build/config
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
import cloudflare from "@astrojs/cloudflare";
// https://astro.build/config
export default defineConfig({
integrations: [
tailwind({
config: {
applyBaseStyles: false,
},
}),
],
output: "server",
adapter: cloudflare(),
});
My package.json:```json
{
"name": "palera1n-website",
"type": "module",
"version": "1.0.0",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/cloudflare": "^6.1.1",
"@astrojs/tailwind": "^3.0.0",
"astro": "^2.0.4",
"astro-icon": "^0.8.0",
"astro-seo": "^0.7.0",
"tailwindcss": "^3.0.24"
}
}
❯ node --version
v18.7.0