#The package "crypto" wasn't found on the file system but is built into node. Are you trying to bun
6 messages · Page 1 of 1 (latest)
Hi @desert kindle. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Hmm, I don't know enough to give you a confident answer yet. The extracts provided do not contain information about the specific error you're encountering with the Cloudflare adapter and the "crypto" package.
However, you might find some help in the Astro documentation or the Astro community:
- Check out the Astro Integration Documentation (https://docs.astro.build/en/guides/integrations-guide/) for more on integrations.
- For better debugging, you can add
vite.build.minify = falsesetting to yourastro.config.jsas mentioned in the Astro Cloudflare Integration Guide (https://docs.astro.build/en/guides/integrations-guide/cloudflare/). - You can also reach out to the Astro community on Discord (https://astro.build/chat) for support.
Remember to always keep your packages up-to-date and ensure that your environment meets the requirements of the Astro framework and its adapters.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@desert kindle kapa.ai is still learning and improving, please let us know how it did by reacting below
You're using a Node dependency on Cloudflare SSR, which does not run on Node
Yeah but Cloudflare has node-compat which should polyfill it I believe