Open treboryx opened 3 years ago
I setup a fresh nuxt project with create-nuxt-app
, added the same configuration (vercel-build script & vercel.json), it builds just fine, I have no idea why because it's the same config, HOWEVER, it doesn't work
(target: static)
It's pointing to the wrong directory maybe?
In both cases I should mention that everything works fine in local env.
I'm having the same issue. Have you found any solution yet? Edit: created new issue https://github.com/nuxt/image/issues/434
I'm having the same issue. Have you found any solution yet?
Unfortunately not, just waiting for anyone who knows what's up to take a look.
Same issue here as well
As pointed out in https://github.com/nuxt/image/issues/434 I got it to build by overriding Vercel's install
command with SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm_config_arch=x64 npm_config_platform=linux yarn add sharp && yarn install
but now the images all error out with 404
Just to add a +1, getting the same here
+1
Using the latest version of nuxt/image. It will not build on vercel. Tried both yarn and npm.
my vercel.json is:
my package.json has also this script: