You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@mabouelhouda Instead of depending on bolt's deploy I went into netlify account, deployed with config changes. I removed all astro references and dependencies and kept only vitepress in package.json, checkin the code to github and deploy in netlify with build settings - 1. build command: npm run docs:build, 2. publish directory: docs/.vitepress/dist (set env variable as required - optional though)
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
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
Additional context
Note sure why is it doing npx astro build instead of deploying vitepress.
The text was updated successfully, but these errors were encountered: