withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
44.36k stars 2.31k forks source link

[...page].astro did not build into index.html #7608

Closed wanghaisheng closed 11 months ago

wanghaisheng commented 1 year ago

What version of astro are you using?

2.0.16

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

npm

What operating system are you using?

windows

What browser are you using?

firefox

Describe the Bug

i clone astro build repo and edit it , when run locally npm run dev localhost:3000/toolkits works well but after deploy vercel, it is 404

[10:21:32.405] Running build in San Francisco, USA (West) – sfo1
[10:21:32.457] Cloning github.com/wanghaisheng/idea-to-action-cycle (Branch: main, Commit: 1f1e8c2)
[10:21:32.461] Skipping build cache, deployment was triggered without cache.
[10:21:40.388] Cloning completed: 7.931s
[10:21:40.719] Running "vercel build"
[10:21:41.190] Vercel CLI 31.0.1
[10:21:41.886] Installing dependencies...
[10:21:42.820] npm WARN skipping integrity check for git dependency ssh://git@github.com/withastro/site-kit.git 
[10:21:46.145] npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
[10:21:46.236] npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
[10:22:22.691] 
[10:22:22.691] added 1023 packages in 41s
[10:22:22.714] Detected `package-lock.json` generated by npm 7+...
[10:22:22.714] Running "npm run build"
[10:22:22.952] 
[10:22:22.953] > @example/minimal@0.0.1 build
[10:22:22.953] > astro build
[10:22:22.953] 
[10:22:25.317] 02:22:25 AM [content] The "tags" collection does not have an associated folder in your `content` directory. Make sure the folder exists, or check your content config for typos.
[10:22:25.318] 02:22:25 AM [content] Types generated 0.83s
[10:22:25.318] 02:22:25 AM [build] output target: server
[10:22:25.319] 02:22:25 AM [build] deploy adapter: @astrojs/netlify/functions
[10:22:25.319] 02:22:25 AM [build] Collecting build info...
[10:22:25.319] 02:22:25 AM [build] Completed in 1.27s.
[10:22:25.320] 02:22:25 AM [build] Building server entrypoints...
[10:22:30.596] 
[10:22:30.596] https: //fonts-cdn.astro.build/Obviously/Obviously Normal/Web/Obviously-Light.woff2 referenced in /vercel/path0/src/styles/fonts.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
[10:22:30.596] 
[10:22:30.596] https: //fonts-cdn.astro.build/Obviously/Obviously Normal/Web/Obviously-Regular.woff2 referenced in /vercel/path0/src/styles/fonts.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
[10:22:30.596] 
[10:22:30.596] https: //fonts-cdn.astro.build/Obviously/Obviously Wide/Web/Obviously-Wide_Semibold.woff2 referenced in /vercel/path0/src/styles/fonts.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
[10:22:36.096] 02:22:36 AM [build] Completed in 10.78s.
[10:22:36.097] 
[10:22:36.097]  building client 
[10:22:38.455] Completed in 2.36s.
[10:22:38.455] 
[10:22:38.615] 
[10:22:38.615]  prerendering static routes 
[10:22:38.866] ▶ src/pages/index.astro
[10:22:39.061] [astro-icon] No sprites found while rendering "/"
[10:22:39.064]   └─ /index.html (+438ms)
[10:22:39.067] ▶ src/pages/wallpapers/index.astro
[10:22:39.121]   └─ /wallpapers/index.html (+54ms)
[10:22:39.125] ▶ src/pages/showcase/[...page].astro
[10:22:39.182]   └─ /showcase/index.html (+57ms)
[10:22:39.184] ▶ src/pages/toolkits/details/[slug].astro
[10:22:39.215] undefined
[10:22:39.217] undefined
[10:22:39.242]   ├─ /toolkits/details/brand-social-influence-analyze/index.html (+59ms)
[10:22:39.272] undefined
[10:22:39.273] undefined
[10:22:39.299]   ├─ /toolkits/details/brand-social-media-account-creation/index.html (+115ms)
[10:22:39.329] undefined
[10:22:39.330] undefined
[10:22:39.350]   ├─ /toolkits/details/brand-tweets-monitor/index.html (+166ms)
[10:22:39.374] undefined
[10:22:39.376] undefined
[10:22:39.394]   ├─ /toolkits/details/dump-brand-website-to-local/index.html (+211ms)
[10:22:39.419] undefined
[10:22:39.420] undefined
[10:22:39.442]   ├─ /toolkits/details/grabstoreurls/index.html (+258ms)
[10:22:39.470] undefined
[10:22:39.471] undefined
[10:22:39.492]   ├─ /toolkits/details/longtail-keywords-expand-tools-gui/index.html (+308ms)
[10:22:39.572] undefined
[10:22:39.576] undefined
[10:22:39.645]   ├─ /toolkits/details/shopifystoredatabase/index.html (+461ms)
[10:22:39.673] undefined
[10:22:39.676] undefined
[10:22:39.694]   └─ /toolkits/details/submit-url-to-search-engine/index.html (+510ms)
[10:22:39.696] ▶ src/pages/careers/index.astro
[10:22:39.728]   └─ /careers/index.html (+33ms)
[10:22:39.730] ▶ src/pages/careers/[slug].astro
[10:22:39.767]   └─ /careers/senior-software-engineer-open-source/index.html (+37ms)
[10:22:39.770] ▶ src/pages/themes/details/[slug].astro
[10:22:39.834]   ├─ /themes/details/accessible-astro-dashboard/index.html (+65ms)
[10:22:39.875]   ├─ /themes/details/accessible-astro-starter/index.html (+106ms)
[10:22:39.918]   ├─ /themes/details/agencex/index.html (+149ms)
[10:22:39.959]   ├─ /themes/details/agnostic-ui/index.html (+190ms)
[10:22:40.000]   ├─ /themes/details/andromeda/index.html (+231ms)
[10:22:40.039]   ├─ /themes/details/art-portfolio/index.html (+270ms)
[10:22:40.076]   ├─ /themes/details/art-theme/index.html (+307ms)
[10:22:40.114]   ├─ /themes/details/astro-big-doc/index.html (+345ms)
[10:22:40.151]   ├─ /themes/details/astro-blog-markdown/index.html (+381ms)
[10:22:40.193]   ├─ /themes/details/astro-boilerplate/index.html (+424ms)
[10:22:40.234]   ├─ /themes/details/astro-boy/index.html (+465ms)
[10:22:40.271]   ├─ /themes/details/astro-business-template/index.html (+502ms)
[10:22:40.311]   ├─ /themes/details/astro-cactus/index.html (+542ms)
[10:22:40.353]   ├─ /themes/details/astro-cube/index.html (+584ms)
[10:22:40.390]   ├─ /themes/details/astro-cv/index.html (+620ms)
[10:22:40.425]   ├─ /themes/details/astro-design-system/index.html (+655ms)
[10:22:40.471]   ├─ /themes/details/astro-ecommerce/index.html (+701ms)
[10:22:40.511]   ├─ /themes/details/astro-fe-portfolio/index.html (+742ms)
[10:22:40.547]   ├─ /themes/details/astro-ink/index.html (+0.78s)
[10:22:40.586]   ├─ /themes/details/astro-landing-page/index.html (+0.82s)
[10:22:40.627]   ├─ /themes/details/astro-lane/index.html (+0.86s)
[10:22:40.666]   ├─ /themes/details/astro-minimal-blog/index.html (+0.90s)
[10:22:40.705]   ├─ /themes/details/astro-minimal-cv/index.html (+0.94s)
[10:22:40.742]   ├─ /themes/details/astro-minimal-starter/index.html (+0.97s)
[10:22:40.778]   ├─ /themes/details/astro-multiverse/index.html (+1.01s)
[10:22:40.813]   ├─ /themes/details/astro-neumorphismt/index.html (+1.04s)
[10:22:40.850]   ├─ /themes/details/astro-paper/index.html (+1.08s)
[10:22:40.886]   ├─ /themes/details/astro-portfolio/index.html (+1.12s)
[10:22:40.927]   ├─ /themes/details/astro-pwa-starter/index.html (+1.16s)
[10:22:40.965]   ├─ /themes/details/astro-resume/index.html (+1.20s)
[10:22:41.001]   ├─ /themes/details/astro-shopify/index.html (+1.23s)
[10:22:41.036]   ├─ /themes/details/astro-simple-blog-theme/index.html (+1.27s)
[10:22:41.072]   ├─ /themes/details/astro-wordpress-starter/index.html (+1.30s)
[10:22:41.107]   ├─ /themes/details/astrobiz/index.html (+1.34s)
[10:22:41.148]   ├─ /themes/details/astrolus-premium/index.html (+1.38s)
[10:22:41.183]   ├─ /themes/details/astrolus/index.html (+1.41s)
[10:22:41.226]   ├─ /themes/details/astroplate/index.html (+1.46s)
[10:22:41.266]   ├─ /themes/details/astrosaas/index.html (+1.50s)
[10:22:41.303]   ├─ /themes/details/astroship/index.html (+1.53s)
[10:22:41.338]   ├─ /themes/details/astrowind/index.html (+1.57s)
[10:22:41.377]   ├─ /themes/details/aubergine/index.html (+1.61s)
[10:22:41.415]   ├─ /themes/details/aurora/index.html (+1.65s)
[10:22:41.456]   ├─ /themes/details/basics/index.html (+1.69s)
[10:22:41.492]   ├─ /themes/details/bigspring-light/index.html (+1.72s)
[10:22:41.528]   ├─ /themes/details/blog/index.html (+1.76s)
[10:22:41.563]   ├─ /themes/details/blogster-bubblegum/index.html (+1.79s)
[10:22:41.598]   ├─ /themes/details/blogster-minimal/index.html (+1.83s)
[10:22:41.633]   ├─ /themes/details/blogster-newspaper/index.html (+1.86s)
[10:22:41.667]   ├─ /themes/details/blogster-sleek/index.html (+1.90s)
[10:22:41.702]   ├─ /themes/details/bobs-blog/index.html (+1.93s)
[10:22:41.738]   ├─ /themes/details/bookworm-light/index.html (+1.97s)
[10:22:41.775]   ├─ /themes/details/brightlight/index.html (+2.01s)
[10:22:41.811]   ├─ /themes/details/brutal/index.html (+2.04s)
[10:22:41.846]   ├─ /themes/details/buio/index.html (+2.08s)
[10:22:41.884]   ├─ /themes/details/cannonball/index.html (+2.11s)
[10:22:41.919]   ├─ /themes/details/cosmic-cms-blog/index.html (+2.15s)
[10:22:41.959]   ├─ /themes/details/creek/index.html (+2.19s)
[10:22:41.994]   ├─ /themes/details/cuteblog/index.html (+2.22s)
[10:22:42.028]   ├─ /themes/details/daisy-blog/index.html (+2.26s)
[10:22:42.071]   ├─ /themes/details/dokto-doctor-appointments/index.html (+2.30s)
[10:22:42.109]   ├─ /themes/details/engineering-blog/index.html (+2.34s)
[10:22:42.144]   ├─ /themes/details/flabbergasted/index.html (+2.38s)
[10:22:42.180]   ├─ /themes/details/flowbite/index.html (+2.41s)
[10:22:42.216]   ├─ /themes/details/galaxy/index.html (+2.45s)
[10:22:42.259]   ├─ /themes/details/gate/index.html (+2.49s)
[10:22:42.294]   ├─ /themes/details/gumori/index.html (+2.52s)
[10:22:42.329]   ├─ /themes/details/hello-astro/index.html (+2.56s)
[10:22:42.366]   ├─ /themes/details/hemingway/index.html (+2.60s)
[10:22:42.404]   ├─ /themes/details/industronix/index.html (+2.63s)
[10:22:42.449]   ├─ /themes/details/insight-blog/index.html (+2.68s)
[10:22:42.487]   ├─ /themes/details/jungley-landing-page/index.html (+2.72s)
[10:22:42.522]   ├─ /themes/details/landing-page-book/index.html (+2.75s)
[10:22:42.557]   ├─ /themes/details/littlesticks-simple-blog/index.html (+2.79s)
[10:22:42.594]   ├─ /themes/details/manual/index.html (+2.82s)
[10:22:42.630]   ├─ /themes/details/massively/index.html (+2.86s)
[10:22:42.664]   ├─ /themes/details/minecraft-theme/index.html (+2.90s)
[10:22:42.698]   ├─ /themes/details/modern-personal/index.html (+2.93s)
[10:22:42.732]   ├─ /themes/details/navy/index.html (+2.96s)
[10:22:42.767]   ├─ /themes/details/nebula/index.html (+3.00s)
[10:22:42.802]   ├─ /themes/details/odyssey/index.html (+3.03s)
[10:22:42.837]   ├─ /themes/details/pinwheel/index.html (+3.07s)
[10:22:42.873]   ├─ /themes/details/portfolio/index.html (+3.10s)
[10:22:42.908]   ├─ /themes/details/pro-file/index.html (+3.14s)
[10:22:42.946]   ├─ /themes/details/profoliox/index.html (+3.18s)
[10:22:42.984]   ├─ /themes/details/quick-store/index.html (+3.22s)
[10:22:43.019]   ├─ /themes/details/sarissa-blog/index.html (+3.25s)
[10:22:43.054]   ├─ /themes/details/semplice/index.html (+3.28s)
[10:22:43.091]   ├─ /themes/details/sendit/index.html (+3.32s)
[10:22:43.126]   ├─ /themes/details/simple-blog-template/index.html (+3.36s)
[10:22:43.162]   ├─ /themes/details/simplexity/index.html (+3.39s)
[10:22:43.198]   ├─ /themes/details/snowpeak/index.html (+3.43s)
[10:22:43.233]   ├─ /themes/details/spazio-bianco/index.html (+3.46s)
[10:22:43.269]   ├─ /themes/details/stablo-blog/index.html (+3.50s)
[10:22:43.306]   ├─ /themes/details/starlight/index.html (+3.54s)
[10:22:43.340]   ├─ /themes/details/stylegan3/index.html (+3.57s)
[10:22:43.378]   ├─ /themes/details/super-solstice/index.html (+3.61s)
[10:22:43.417]   ├─ /themes/details/tailcast/index.html (+3.65s)
[10:22:43.456]   └─ /themes/details/tiny-rocket/index.html (+3.69s)
[10:22:43.457] ▶ src/pages/videos/index.astro
[10:22:43.491]   └─ /videos/index.html (+34ms)
[10:22:43.493] ▶ src/pages/about/index.astro
[10:22:43.528]   └─ /about/index.html (+35ms)
[10:22:43.530] ▶ src/pages/blog/[slug].astro
[10:22:43.538] [ 'social media' ]
[10:22:43.538] []
[10:22:43.569]   ├─ /blog/brand-building-components/index.html (+39ms)
[10:22:43.572] [ 'social media' ]
[10:22:43.572] []
[10:22:43.598]   ├─ /blog/brand-monitor-task/index.html (+68ms)
[10:22:43.600] [ 'social media' ]
[10:22:43.600] []
[10:22:43.629]   ├─ /blog/chatgpt-generated-slogn/index.html (+99ms)
[10:22:43.632] [ 'social media' ]
[10:22:43.632] []
[10:22:43.659]   ├─ /blog/email-collecting-tool-for-brand/index.html (+129ms)
[10:22:43.662] [ 'social media' ]
[10:22:43.662] []
[10:22:43.690]   ├─ /blog/how-can-chatgpt-aid-brand-monitoring/index.html (+160ms)
[10:22:43.692] [ 'social media' ]
[10:22:43.692] []
[10:22:43.721]   ├─ /blog/how-to-use-google-tag-manager/index.html (+191ms)
[10:22:43.725] [ 'social media' ]
[10:22:43.725] []
[10:22:43.751]   └─ /blog/product-message/index.html (+221ms)
[10:22:43.753] ▶ src/pages/blog/[...page].astro
[10:22:43.785]   └─ /blog/index.html (+33ms)
[10:22:43.787] ▶ src/pages/404.astro
[10:22:43.813]   └─ /404.html (+26ms)
[10:22:43.815] λ src/pages/api/showcase.json.ts
[10:22:43.816]   └─ /api/showcase.json (+1ms)
[10:22:43.817] ▶ src/pages/on/[platform].astro
[10:22:43.818]   ├─ /on/github/index.html (+1ms)
[10:22:43.819]   ├─ /on/discord/index.html (+2ms)
[10:22:43.820]   ├─ /on/twitter/index.html (+3ms)
[10:22:43.820]   ├─ /on/tiktok/index.html (+3ms)
[10:22:43.821]   ├─ /on/youtube/index.html (+4ms)
[10:22:43.821]   └─ /on/mastodon/index.html (+4ms)
[10:22:43.823] ▶ src/pages/[slug].astro
[10:22:43.852]   ├─ /privacy/index.html (+29ms)
[10:22:43.880]   └─ /terms/index.html (+57ms)
[10:22:43.881] Completed in 5.27s.
[10:22:43.881] 
[10:22:43.929] 
[10:22:43.929]  finalizing server assets 
[10:22:43.929] 
[10:22:43.929] 02:22:43 AM [build] Rearranging server assets...
[10:22:43.975] @astrojs/sitemap: `sitemap-index.xml` is created.
[10:22:43.975] 
[10:22:43.977] 02:22:43 AM [build] Server built in 19.93s
[10:22:43.977] 02:22:43 AM [build] Complete!
[10:22:44.333] Build Completed in /vercel/output [1m]
[10:22:44.560] Deploying outputs...
[10:23:00.705] Deployment completed
[10:23:09.644] Uploading build cache [66.03 MB]...
[10:23:10.800] Build cache uploaded: 1.156s

What's the expected result?

it should work like local dev environments

Link to Minimal Reproducible Example

https://github.com/wanghaisheng/idea-to-action-cycle

Participation

wanghaisheng commented 1 year ago

▶ src/pages/blog/[...page].astro is build but ▶ src/pages/toolkit/[...page].astro is apprarently not

https://github.com/wanghaisheng/idea-to-action-cycle/blob/main/src/pages/toolkits/%5B...page%5D.astro

wanghaisheng commented 1 year ago

netlify is the same

11:10:41 AM: Netlify Build                                                 
11:10:41 AM: ────────────────────────────────────────────────────────────────
11:10:41 AM: ​
11:10:41 AM: ❯ Version
11:10:41 AM:   @netlify/build 29.16.0
11:10:41 AM: ​
11:10:41 AM: ❯ Flags
11:10:41 AM:   baseRelDir: true
11:10:41 AM:   buildId: 64af6afd60c5b40008171b1c
11:10:41 AM:   deployId: 64af6afe60c5b40008171b1e
11:10:41 AM: ​
11:10:41 AM: ❯ Current directory
11:10:41 AM:   /opt/build/repo
11:10:41 AM: ​
11:10:41 AM: ❯ Config file
11:10:41 AM:   /opt/build/repo/netlify.toml
11:10:41 AM: ​
11:10:41 AM: ❯ Context
11:10:41 AM:   production
11:10:41 AM: ​
11:10:41 AM: build.command from netlify.toml                               
11:10:41 AM: ────────────────────────────────────────────────────────────────
11:10:41 AM: ​
11:10:41 AM: $ pnpm build
11:10:41 AM: > @example/minimal@0.0.1 build /opt/build/repo
11:10:41 AM: > astro build
11:10:43 AM: 03:10:43 AM [content] Types generated 658ms
11:10:43 AM: 03:10:43 AM [build] output target: server
11:10:43 AM: 03:10:43 AM [build] deploy adapter: @astrojs/netlify/functions
11:10:43 AM: 03:10:43 AM [build] Collecting build info...
11:10:43 AM: 03:10:43 AM [build] Completed in 1.04s.
11:10:43 AM: 03:10:43 AM [build] Building server entrypoints...
11:10:53 AM: 03:10:53 AM [build] Completed in 9.42s.
11:10:53 AM: 
11:10:53 AM:  building client 
11:10:54 AM: Completed in 1.83s.
11:10:54 AM: 
11:10:55 AM: 
11:10:55 AM:  prerendering static routes 
11:10:55 AM: ▶ src/pages/index.astro
11:10:55 AM: [astro-icon] No sprites found while rendering /
11:10:55 AM:   └─ /index.html (+403ms)
11:10:55 AM: ▶ src/pages/interaction-tools/index.astro
11:10:55 AM:   └─ /interaction-tools/index.html (+47ms)
11:10:55 AM: ▶ src/pages/interaction-tools/[slug].astro
11:10:55 AM:   └─ /interaction-tools/senior-software-engineer-open-source/index.html (+55ms)
11:10:55 AM: ▶ src/pages/wallpapers/index.astro
11:10:55 AM:   └─ /wallpapers/index.html (+44ms)
11:10:55 AM: ▶ src/pages/resources/index.astro
11:10:55 AM:   └─ /resources/index.html (+50ms)
11:10:55 AM: ▶ src/pages/showcase/[...page].astro
11:10:56 AM:   └─ /showcase/index.html (+46ms)
11:10:56 AM: ▶ src/pages/toolkits/details/[slug].astro
11:10:56 AM:   ├─ /toolkits/details/brand-social-influence-analyze/index.html (+66ms)
11:10:56 AM:   ├─ /toolkits/details/brand-social-media-account-creation/index.html (+126ms)
11:10:56 AM:   ├─ /toolkits/details/brand-tweets-monitor/index.html (+176ms)
11:10:56 AM:   ├─ /toolkits/details/dump-brand-website-to-local/index.html (+222ms)
11:10:56 AM:   ├─ /toolkits/details/grabstoreurls/index.html (+272ms)
11:10:56 AM:   ├─ /toolkits/details/longtail-keywords-expand-tools-gui/index.html (+372ms)
11:10:56 AM:   ├─ /toolkits/details/shopifystoredatabase/index.html (+420ms)
11:10:56 AM:   └─ /toolkits/details/submit-url-to-search-engine/index.html (+467ms)
11:10:56 AM: ▶ src/pages/careers/index.astro
11:10:56 AM:   └─ /careers/index.html (+41ms)
11:10:56 AM: ▶ src/pages/careers/[slug].astro
11:10:56 AM:   └─ /careers/senior-software-engineer-open-source/index.html (+38ms)
11:10:56 AM: ▶ src/pages/themes/details/[slug].astro
11:10:56 AM:   └─ /themes/details/tiny-rocket/index.html (+45ms)
11:10:56 AM: ▶ src/pages/videos/index.astro
11:10:56 AM:   └─ /videos/index.html (+49ms)
11:10:56 AM: ▶ src/pages/about/index.astro
11:10:56 AM:   └─ /about/index.html (+78ms)
11:10:56 AM: ▶ src/pages/blog/[slug].astro
11:10:56 AM:   ├─ /blog/brand-building-components/index.html (+90ms)
11:10:56 AM:   ├─ /blog/brand-monitor-task/index.html (+133ms)
11:10:56 AM:   ├─ /blog/chatgpt-generated-slogn/index.html (+174ms)
11:10:56 AM:   ├─ /blog/email-collecting-tool-for-brand/index.html (+223ms)
11:10:57 AM:   ├─ /blog/how-can-chatgpt-aid-brand-monitoring/index.html (+271ms)
11:10:57 AM:   ├─ /blog/how-to-use-google-tag-manager/index.html (+312ms)
11:10:57 AM:   └─ /blog/product-message/index.html (+349ms)
11:10:57 AM: ▶ src/pages/blog/[...page].astro
11:10:57 AM:   └─ /blog/index.html (+35ms)
11:10:57 AM: ▶ src/pages/test/details/[slug].astro
11:10:57 AM:   ├─ /test/details/brand-social-influence-analyze/index.html (+46ms)
11:10:57 AM:   ├─ /test/details/brand-social-media-account-creation/index.html (+87ms)
11:10:57 AM:   ├─ /test/details/brand-tweets-monitor/index.html (+127ms)
11:10:57 AM:   ├─ /test/details/dump-brand-website-to-local/index.html (+167ms)
11:10:57 AM:   ├─ /test/details/grabstoreurls/index.html (+220ms)
11:10:57 AM:   ├─ /test/details/longtail-keywords-expand-tools-gui/index.html (+346ms)
11:10:57 AM:   ├─ /test/details/shopifystoredatabase/index.html (+399ms)
11:10:57 AM:   └─ /test/details/submit-url-to-search-engine/index.html (+437ms)
11:10:57 AM: ▶ src/pages/404.astro
11:10:57 AM:   └─ /404.html (+30ms)
11:10:57 AM: λ src/pages/api/showcase.json.ts
11:10:57 AM:   └─ /api/showcase.json (+1ms)
11:10:57 AM: ▶ src/pages/on/[platform].astro
11:10:57 AM:   ├─ /on/github/index.html (+1ms)
11:10:57 AM:   ├─ /on/discord/index.html (+3ms)
11:10:57 AM:   ├─ /on/twitter/index.html (+3ms)
11:10:57 AM:   ├─ /on/tiktok/index.html (+4ms)
11:10:57 AM:   ├─ /on/youtube/index.html (+4ms)
11:10:57 AM:   └─ /on/mastodon/index.html (+5ms)
11:10:57 AM: ▶ src/pages/[slug].astro
11:10:57 AM:   ├─ /privacy/index.html (+55ms)
11:10:57 AM:   └─ /terms/index.html (+88ms)
11:10:57 AM: Completed in 2.35s.
11:10:57 AM: 
11:10:57 AM: 
11:10:57 AM:  finalizing server assets 
11:10:57 AM: 03:10:57 AM [build] Rearranging server assets...
11:10:57 AM: @astrojs/sitemap: `sitemap-index.xml` is created.
11:10:57 AM: 03:10:57 AM [build] Server built in 15.24s
11:10:57 AM: 03:10:57 AM [build] Complete!
11:10:57 AM: ​
11:10:57 AM: (build.command completed in 16.6s)
wanghaisheng commented 1 year ago

@bluwy

natemoo-re commented 11 months ago

Unfortunately I'm really struggling to debug this issue since it looks like the repo at https://github.com/wanghaisheng/idea-to-action-cycle is quite different from when you opened this. Please open a new issue and include a link to a minimal example that demonstrates the problem. You can use https://astro.new/minimal to create one.

wanghaisheng commented 11 months ago

@natemoo-re I dont figure out why vercel and netlify wont work well on SSR page you can use subfolder to test https://github.com/wanghaisheng/idea-to-action-cycle/blob/vercel/apps/conna/ toolkit endpoint is copied from original themes and modify a little

if you deploy this sub folder in vercel ,/toolkit endpoint 404 , bubt deploy root folder in vercel ,it works well for ssr page like toolkit