© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
`Error: Dynamic require of node:path is not supported` causes runtime error - how to troubleshoot? - Cloudflare Developers
CD
Cloudflare Developers
•
2y ago
•
7 replies
jason
`Error: Dynamic require of node:path is not supported` causes runtime error - how to troubleshoot?
My SvelteKit project on CF Pages builds successfully and has been great
. All routes still work
, except for a POST route
, that gives this error
.
- I do not have
node:path
node:path
in my code
(
!
)
- I have
nodejs_compat
nodejs_compat
enabled
(screenshot
)
- I removed deps and simplified this route
Cloudflare does not give a stack track
, frustratingly
, so I don
't know how to troubleshoot further
.
Any tips for how to investigate further
?
Similar Threads
Error: Dynamic require of "node:buffer" is not supported
CD
Cloudflare Developers / pages-help
2y ago
Error: Dynamic require of \"node:buffer\" is not supported
CD
Cloudflare Developers / pages-help
3y ago
How to troubleshoot deploy error: `Script startup exceeded CPU time limit`
CD
Cloudflare Developers / pages-help
2y ago
Is SSR supposed to be supported?
CD
Cloudflare Developers / pages-help
2y ago