Comments (7)
You should not need to set a nitro preset. In fact the correct preset for generating on Vercel is Vercel-static, which should be automatically detected.
from nuxt.
Nope, that's only a side effect of overriding presets (instead of letting Nuxt + Nitro find the right one fitting to your deploy environment)
from nuxt.
Start a new pull request in StackBlitz Codeflow.
from nuxt.
This seems unlikely to be a Nuxt issue. Has it just started occurring? Have you reached out to Vercel support?
Do you have a .env.production file?
from nuxt.
This seems unlikely to be a Nuxt issue. Has it just started occurring? Have you reached out to Vercel support?
Do you have a .env.production file?
i don't have .env.prodction
on github, It only exists locally.
but when i delete NITRO_PRESET=vercel
, build success,
Have you reached out to Vercel support?
if you mean search on document, yes, not help, the error message is too general, I cannot find the cause of the problem
from nuxt.
Has it just started occurring?
Unfortunately, this is a repository that is soon to be deprecated, and the date I can provide where this issue was not present is 55 days ago. Should I report this bug to Vercel
or Nitro
instead?
from nuxt.
You should not need to set a nitro preset. In fact the correct preset for generating on Vercel is Vercel-static, which should be automatically detected.
I knew I didn't need to set it and was only using it to test local builds, so I combined them into one script(I learned my lesson, I should have separated them), but what I didn't know was that I should use vercel-static
big thanks
from nuxt.
Related Issues (20)
- Nuxt 4 beta Layers with Nuxt UI not working correctly. HOT 3
- navigateTo inside plugin with ssr:false doesn't work HOT 1
- Clarification of Terminology: Use "CSR" Instead of "SPA" for `ssr: false`
- Using useRequestHeaders() on Cloudflare Pages throws a 500 error HOT 3
- Several issues with extending Nuxt Layer HOT 1
- CSS Import in `<script setup>` Works in Development but Not in Production HOT 1
- types: useError is not correctly typed as per documentation HOT 1
- Real SSR-friendly Ref HOT 3
- Add warning for @ prefix in build.transpile HOT 2
- Layout Transitions break scroll position on route change and browser forward/back HOT 3
- Hash route links not working with ssr:false
- ✨ Allow setting middleware & routeMeta through routeRules HOT 1
- Build fails with `compatibilityVersion: 4` and TypeScript templates added via `addTemplate` HOT 3
- (Need Help) Encountering Warnings When Using Nuxt3 + shadcnUI and Unsure How to Fix Them HOT 5
- `useFetch` twice "A composable that requires access to the Nuxt instance was called outside of a plugin..." HOT 2
- layout:transition:finish hook
- Importing .vue file in WebWorker causes error in nuxi generate HOT 4
- useAsyncData use $csrfFetch HOT 3
- Using webpack to build errors.
- Plugin type `IsAny` check broken broken in Typescript 5.5 & above HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt.