Missing "cloudfare:email" npm package.
I'm trying to create an email worker using cloudfare docs but I'm unable to figure out what package I need to install.
I've created a simple function for my pages app that would send an email but during deploymet I get the following error.
Could not resolve "cloudfare:email
Could someone please help me figure out what I'm doing wrong.
this is a private repo but I can paste any code samples required.
1 Reply
Following these docs - https://developers.cloudflare.com/pages/tutorials/forms/#markup
Cloudflare Docs
Create a HTML form · Cloudflare Pages docs
In this tutorial, you will create a simple using plain HTML and CSS and deploy it to Cloudflare Pages. While doing so, you will learn about some of the HTML form attributes and how to collect submitted data within a Worker.