ssokolow
CDCloudflare Developers
•Created by ssokolow on 12/16/2023 in #workers-help
Could not resolve "@cloudflare/pages-plugin-mailchannels"
I'm trying to set up a contact form for a simple Pages site but the instructions on https://blog.cloudflare.com/sending-email-from-workers-with-mailchannels/ just result in a
Could not resolve "@cloudflare/pages-plugin-mailchannels"
error when I make a new push.
npmjs.com seems to indicate that @cloudflare/pages-plugin-mailchannels
still exists and has over 1,000 weekly downloads, which suggests it hasn't been renamed, but I have no experience with Cloudflare Workers and I find the distinction between using Workers and using Pages Functions hazy and confusing, so I don't know how to go about testing the "must be manually added as a dependency first" hypothesis with Git-based deploy (the docs just talk about Wrangler) and it being located in functions/_middleware.ts
.8 replies