Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature nodejs compat issues in troubleshooting #19288

Open
wants to merge 1 commit into
base: production
Choose a base branch
from

Conversation

thomasgauvin
Copy link
Contributor

Recent changes to create-cloudflare have removed default nodejs_compat from templates. While we discuss why this was removed and if we can make it the default once again, adding an entry in our troubleshooting to notify anyone landing on Hyperdrive troubleshooting that they may be encountering node compat issues.

@thomasgauvin thomasgauvin requested review from elithrar, sejoker, Oxyjun and a team as code owners January 17, 2025 22:07
@github-actions github-actions bot added the product:hyperdrive Hyperdrive: https://developers.cloudflare.com/hyperdrive/ label Jan 17, 2025
@thomasgauvin
Copy link
Contributor Author

See cloudflare/workers-sdk#7388

Copy link

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d80911e
Status: ✅  Deploy successful!
Preview URL: https://4f179c52.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://thomasgauvin-patch-4.cloudflare-docs-7ou.pages.dev

View logs

### Node errors

| Error Message | Details | Recommended fixes | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Uncaught Error: No such module "node:<module>"` | Your Cloudflare Workers project or a library that it imports is trying to access a Node module that is not available. | Enable [Node.js compatibility](https://developers.cloudflare.com/workers/runtime-apis/nodejs/) for your Cloudflare Workers project to maximize compatibility. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:hyperdrive Hyperdrive: https://developers.cloudflare.com/hyperdrive/ size/xs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants