hartmut
hartmut
NNuxt
Created by hartmut on 6/28/2024 in #❓・help
nuxt image IPX provider on vercel - routes are no longer getting prerendered
Hi everyone! When I run pnpm run build locally on my machine, all /_ipx/** routes are discovered on prerender and the images in all required formats are generated (transformed). Now trying to deploy on vercel (also with IPX provider), the images are not getting generated (missing from build output). I confirmed vercel runs the same build command -> pnpm run build. versions:
"nuxt": "^3.12.2" "@nuxt/image": "^1.7.0",
I also tried with nuxt 3.11.1 + @nuxt/image 1.4.0 (this was used 30 days ago for the last --prod build, where everything was still working fine). Basically, 30d ago, everything was working, today it's not. image is configured as follows:
image: {
provider: 'ipx',
quality: 90,
format: ['webp'],
},
image: {
provider: 'ipx',
quality: 90,
format: ['webp'],
},
Is anyone aware of changes on vercel's side, or how to analyse further? Many thanks!
4 replies
NNuxt
Created by hartmut on 6/26/2024 in #❓・help
nuxt project was working fine 1 month ago now fails on `pnpm run build` prerender
I'm getting many
Error: [500]
without more information on the cause or error causing this. The build was working fine 1 month ago (26/05/2024) but not any more. No change to the codebase. The pages that fail on prerender are fine in pnpm dev mode. Nuxt version: 3.11.1 I have also tried with nuxi upgrade --force to latest. (I actually did that first in case that's relevant, was doing some changes, all fine in dev mode, then failed on build -> started to roll everything back, even git clone the repo again into a new directory. same issues.)
4 replies
NNuxt
Created by hartmut on 3/27/2024 in #❓・help
ERR_PNPM_EEXIST on vercel `pnpm install` after nuxt upgrade to 3.11.1
Hi, I'm getting
ERR_PNPM_EEXIST  EEXIST: file already exists, rename '/vercel/path0/node_modules/@parcel/watcher-wasm/node_modules' -> '/vercel/path0/node_modules/@parcel/watcher-wasm_tmp_90/node_modules'
ERR_PNPM_EEXIST  EEXIST: file already exists, rename '/vercel/path0/node_modules/@parcel/watcher-wasm/node_modules' -> '/vercel/path0/node_modules/@parcel/watcher-wasm_tmp_90/node_modules'
6 replies
NNuxt
Created by hartmut on 6/18/2023 in #❓・help
render specific page without default 'layout' (using app.vue, not /layouts)?
Hi, I'd like to render a specific page without being wrapped in my 'layout', defined in app.vue. I tried following without success... surely this should be doable somehow?
<script setup lang="ts">
definePageMeta({ layout: false })
</script>

<template>
<div>
Test
</div>
</template>
<script setup lang="ts">
definePageMeta({ layout: false })
</script>

<template>
<div>
Test
</div>
</template>
1 replies