Nodejs_compat in Page Functions
Howdy all,
I'm trying to deploy TinaCMS (https://github.com/tinacms/tinacms) self-hosted (https://tina.io/docs/reference/self-hosted/database-adapter/overview/) on Pages using Workers KV. |
I set up a
The deployments failed for it.
There was a hint given by the error messages to add
Similarly
Any hints?
I'm trying to deploy TinaCMS (https://github.com/tinacms/tinacms) self-hosted (https://tina.io/docs/reference/self-hosted/database-adapter/overview/) on Pages using Workers KV. |
I set up a
functions/graphql.ts to handle a graphql endpoint that imports some nodejs specific libraries from Tina.The deployments failed for it.
There was a hint given by the error messages to add
nodejs_compat as a compatiblity flag which I proceed to do in the Dashboard for both preview and prodution deployments but this did not seem to change when I retried the deployment. Similarly
wrangler pages dev ./out --compatibility-date 21-11-2023 --compatibility-flags nodejs_compat does not seem to work end gives me the same error:Any hints?