#Error with Vercel deployment

1 messages · Page 1 of 1 (latest)

sterile nova
#

I push my repo to vercel and it works great 0 errors 0 warning all great it throws this messages "13:42:54 [build] Rearranging server assets...
13:42:54 [<@&1055234544183287879>/vercel/serverless] Bundling function ../../../../dist/entry.mjs
[<@&1055234544183287879>/vercel] The module "@img/sharp-wasm32/versions" inside the file "/vercel/path0/node_modules/sharp/lib/utility.js" couldn't be resolved. This may not be a problem, but it's worth checking.
[<@&1055234544183287879>/vercel] The module "@img/sharp-libvips-/package" inside the file "/vercel/path0/node_modules/sharp/lib/sharp.js" couldn't be resolved. This may not be a problem, but it's worth checking.
[<@&1055234544183287879>/vercel] The module "@img/sharp-libvips-dev/include" inside the file "/vercel/path0/node_modules/sharp/lib/libvips.js" couldn't be resolved. This may not be a problem, but it's worth checking.
[<@&1055234544183287879>/vercel] The module "@img/sharp-libvips-dev/cplusplus" inside the file "/vercel/path0/node_modules/sharp/lib/libvips.js" couldn't be resolved. This may not be a problem, but it's worth checking.
13:42:55 [build] Server built in 5.42s
13:42:55 [build] Complete!
Build Completed in /vercel/output [18s]
Deploying outputs..." but my app doesn't even show it is stuck on "This page isn’t workingtredfox-blog.vercel.app is currently unable to handle this request." screen

rocky pierBOT
#

Hi @sterile nova. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the information provided in the extracts, it seems like you might be encountering a common issue with Vercel deployments of Astro projects. There are several potential causes for this issue:

  1. Package Manager: Some users have reported issues when using certain package managers. For example, in issue #4567 (https://github.com/withastro/astro/issues/4567), a user reported a similar problem when using the PNPM package manager.

  2. Astro Version: The version of Astro you're using could also be causing the issue. In issue #5138 (https://github.com/withastro/astro/issues/5138), a user reported a similar problem when using Astro version 1.5.2.

  3. Astro Configuration: Your Astro configuration could also be causing the issue. In issue #4391 (https://github.com/withastro/astro/issues/4391), a user reported a similar problem when using the Vercel adapter with the React integration enabled.

  4. Vercel Adapter: The Vercel adapter you're using could also be causing the issue. In issue #4630 (https://github.com/withastro/astro/issues/4630), a user reported a similar problem when using the Vercel edge adapter with the Sanity.io integration enabled.

Without more specific information about your project setup, it's hard to provide a more precise answer. However, you might want to check your package manager, Astro version, Astro configuration, and Vercel adapter to see if they could be causing the issue. If you're still encountering the problem, you might want to open an issue on the Astro GitHub page (https://github.com/withastro/astro/issues) to get help from the Astro community.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: