Astro tag build faild with netlify, work on localhost

so, in my theme tag feature work perfectly when astro.config.mjs is

import { defineConfig } from 'astro/config';

//if you are using localhost PC
export default defineConfig({}); 

when when i change it to the netlify things


import { defineConfig } from 'astro/config';

import netlify from "@astrojs/netlify";

//If you are using netlify
export default defineConfig({ output: "server", adapter: netlify() });

and run it as localhost dev i got error on the [tags].astro feature if you need to read that file src/pages/tags/[tag].astro · bd4c5beee9a92060dd6935220e34b88dbdf1a55d · kazi ar rafi / astro-fast-fontend-1 · GitLab
Cannot read properties of undefined (reading ‘map’)

if i sent that netlify config i just see a blank page when i open the tags feature.

Looks like it’s being handled by Astro over discord?