Configuring my blog to use Astro's new content directory
• Created on 28/06/2023
Tags:
#problems
#astro
#general
In this post:
Hello There
Today I encountered some problems trying to configure my blog to use Astro’s new content directory and I thought someone else might be facing the same problem in the future, so here I am.
What happened?
After I created an NPM Package for managing my social and contact links throughout my project, I decided to configure this website to use it as well, since this is the most important source of my contact details.
After I was done I tried to test the website and ran yarn dev
, everything worked fine in development so I tried building the site
using the yarn build
and all of a sudden Astro decided to give me this error:
error The argument 'path' must be a string or Uint8Array without null bytes. Received '