I have the same Error message.
{
"name": "popular-pegasi",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"start": "astro preview --port $PORT --host"
},
"dependencies": {
"astro": "^5.2.4"
}
}
// @ts-check
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({
site: "https://my-website.de",
vite: {
preview: {
allowedHosts: [
'my-website.de',
]
}
}
});
Can you help me? PS.: I do not have an Dockerfile. I am using node.js (I'm a beginner)