Closed expo5170 closed 1 week ago
I'm facing the same problem, not for the .md
files, but for a .json
file that holds some data that i want to incorporate in some components at build time.
Is this bug got fixed, because facing difficulties in building with wrangler, myself
Hi folks, are y'all still experiencing this issue with latest wrangler version? Does passing the --nodejs_compat
flag to the pages dev
command line solve it?
We haven't heard from you in while so I'm going to close this issue for now. If you're still running into problems feel free to open a new issue with more details and we can investigate further.
Which Cloudflare product(s) does this pertain to?
Wrangler
What version of
Wrangler
are you using?2.8.1
What operating system are you using?
Windows
Describe the Bug
I'm using SSG to pre-render some blog posts at build time with Qwik. In order for this to work, I'm reading the
.md
files from the file system and after getting this build errorI followed the hint and declared
fs
as an external inadaptors/cloudflare-pages/vite.config.ts
:The build now succeeds but when when I try to run
wrangler pages dev ./dist
I get: