Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to deploy on Vercel #6

Open
tiwentichat opened this issue Dec 8, 2023 · 3 comments
Open

Failed to deploy on Vercel #6

tiwentichat opened this issue Dec 8, 2023 · 3 comments

Comments

@tiwentichat
Copy link

Deployment is finished and the status is Green Ready

But preview and the link is :

404: NOT_FOUND
Code: NOT_FOUND

What did I do:

Copy the link, paste to vercel's new project- third party repo- deploy. Then Failed
Confusing now ...

@Charca
Copy link
Owner

Charca commented Dec 11, 2023

Hey @tiwentichat, is there an error on Vercel's console that you can share?

If the deployment was successful but the site still doesn't work, I'd reach out to Vercel's support and ask for guidance.

@tiwentichat
Copy link
Author

tiwentichat commented Dec 12, 2023

Hey Charca,

Thanks for your reply!

the status is like this:

008

and just now, several minute ago, get a new log warning like this:

009

the deployment log is like this, no warning and error, but just 404 as result:

16:24:12.564 Running build in Washington, D.C., USA (East) – iad1
16:24:14.278 Cloning github.com/tiwentichat/astro-records (Branch: main, Commit: 338aa14)
16:24:14.304 Skipping build cache, deployment was triggered without cache.
16:24:18.008 Cloning completed: 3.729s
16:24:18.340 Running "vercel build"
16:24:20.213 Vercel CLI 32.6.1
16:24:20.930 Installing dependencies...
16:24:27.949  
16:24:27.950 added 469 packages in 7s
16:24:27.950  
16:24:27.951 176 packages are looking for funding
16:24:27.951 run npm fund for details
16:24:27.974 Detected package-lock.json generated by npm 7+
16:24:27.974 Running "npm run build"
16:24:28.794  
16:24:28.795 > @example/basics@0.0.1 build
16:24:28.795 > astro build
16:24:28.795  
16:24:30.022 08:24:30 AM [astro] The currently selected adapter @astrojs/cloudflare is not compatible with the image service "Sharp".
16:24:30.022 08:24:30 AM [astro] The adapter @astrojs/cloudflare doesn't support the feature assets. Your project won't be built. You should not use it.
16:24:30.023 08:24:30 AM [astro] The selected adapter @astrojs/cloudflare does not support Sharp or Squoosh for image processing. To ensure your project is still able to build, image processing has been disabled.
16:24:30.060 08:24:30 AM [content] No content directory found. Skipping type generation.
16:24:30.061 08:24:30 AM [build] output target: server
16:24:30.062 08:24:30 AM [build] deploy adapter: @astrojs/cloudflare
16:24:30.062 08:24:30 AM [build] Collecting build info...
16:24:30.062 08:24:30 AM [build] Completed in 110ms.
16:24:30.064 08:24:30 AM [build] Building server entrypoints...
16:24:32.409 08:24:32 AM [build] Completed in 2.34s.
16:24:32.410  
16:24:32.410 building client
16:24:32.871 Completed in 462ms.
16:24:32.872  
16:24:32.888  
16:24:32.888 finalizing server assets
16:24:32.888  
16:24:32.889 08:24:32 AM [build] Rearranging server assets...
16:24:32.958 08:24:32 AM [build] Server built in 3.01s
16:24:32.958 08:24:32 AM [build] Complete!
16:24:33.054 Build Completed in /vercel/output [12s]
16:24:33.151 Deploying outputs...
16:24:34.300  
16:24:34.944 Deployment completed
16:24:39.121 Uploading build cache [27.10 MB]...
16:24:40.537 Build cache uploaded: 1.415s

@Charca
Copy link
Owner

Charca commented Dec 18, 2023

Hey @tiwentichat! You'll need to setup the Astro Vercel adapter for the deployment to work correctly on Vercel. This repo is setup using Cloudflare's adapter, so you'll need to replace it with Vercel's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants