🚧 UNDER HEAVY CONSTRUCTION BECAUSE WORKERS UNIONIZED 🚧

Development woes: pnpm & Contentful vs. Vercel

Monday, 4 September 2023 at 2.43
(Edited: 04/09/2023, 2.48)
Vercel doesn't like Astro 3.0
1 minute read
0 views

Doom & gloom

I wanted to start using pnpm instead of npm , but unfortunately, the moment I upgraded, things started to break.

tailwind/typography would constantly uninstall itself somehow(?) and I would constantly hammer npm cache clean --force because each time I started the dev server or tried to build, the behaviour was different.

Vercel has an issue, with several times it refusing to give me helpful logs, just 505. Until it finally decided to say "cannot find package Solid.js" which... Is interesting. This was fixed by going back to npm.

Results

Currently, Contentful content doesn't work on Vercel a.k.a. on the official website. It works on localhost, which is so curious, I love it...

I will try to find a fix for this, but it does look like I should continue using Storyblok, as it's just more comfy to use. Only thing that sorta sucks is the image loading.

linus

Feel bad man.


Please login to comment.

Comments: 0


Be the first to commment :)

Refresh counter test =
0