Skip to content

unable to deploy vitepress site to netlify, its erroring out. with the mentioned error message #5434

Open
@t3-team

Description

Describe the bug

[..................] - idealTree:aa98e6899c6baff[..................] - idealTree:aa98e6899c6baff[#########.........] / idealTree: timing idealTr[############......] - reify:finalize: timing re[############......] - reify:finalize: timing re[############......] - reify:finalize: timing re[############......] - reify:finalize: timing re[############......] - reify:finalize: timing re[############......] - reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[############......] \ reify:finalize: timing re[##################] / reify:finalize: timing re[##################] - reify:finalize: timing re
20:41:29 [WARN] Missing pages directory: src/pages
20:41:29 [content] Syncing content
20:41:29 [content] Synced content
20:41:29 [types] Generated 169ms
20:41:29 [build] output: "static"
20:41:29 [build] directory: /home/project/dist/
20:41:29 [build] Collecting build info...
20:41:29 [build] ✓ Completed in 220ms.
20:41:29 [build] Building static entrypoints...
20:41:30 [ERROR] [vite] x Build failed in 30ms
[vite]: Rollup failed to resolve import "astro/app" from "@astrojs-manifest".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
Location:
/home/.npm/npx/aa98e6899c6baff3/node_modules/vite/dist/node/chunks/dep-BJP6rrE.js:51104:17
Stack trace:
at viteWarn (file:///home/.npm/npx/aa98e6899c6baff3/node_modules/vite/dist/node/chunks/dep-BJP6rrE.js:51104:17)
at onwarn (file:///home/.npm/npx/aa98e6899c6baff3/node_modules/vite/dist/node/chunks/dep-BJP6rrE.js:50802:7)
at Object.logger (file:///home/.npm/_npx/aa98e6899c6baff3/node_modules/rollup/dist/es/shared/node-entry.js:21348:9)
at eval (file:///home/.npm/_npx/aa98e6899c6baff3/node_modules/rollup/dist/es/shared/node-entry.js:20195:26)

Link to the Bolt URL that caused the error

https://bolt.new/~/sb1-mkrtukm5

Validations

  • Please make your project public or accessible by URL. This will allow anyone trying to help you to easily reproduce the issue and provide assistance.

Steps to reproduce

build a vitepress documentation site and deploy to netlify at the end.

Expected behavior

deploy vitepress to netlify without issues

Screen Recording / Screenshot

No response

Platform

Browser name = Chrome
Full version = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 89466071,
  "usedJSHeapSize": 81851143,
  "jsHeapSizeLimit": 2197815296
}
Username = t3-team
Chat ID = 1c2760c83eeb
Client version = b03c990
Server version = b03c990

Additional context

Note sure why is it doing npx astro build instead of deploying vitepress.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions