cli
cli copied to clipboard
Email integration - Preview stopped working after version v17.8.1
Describe the bug
When using the latest version v17.10.1 the email preview under netlify dev no longer works.
curl -v http://localhost:8888/.netlify/functions/emails
* Trying [::1]:8888...
* Connected to localhost (::1) port 8888
> GET /.netlify/functions/emails HTTP/1.1
> Host: localhost:8888
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< server: Netlify
< x-nf-request-id: 01HHM3H2X8A0PEV6X6A6G7PXYG
< x-powered-by: Express
< date: Thu, 14 Dec 2023 12:06:25 GMT
< connection: close
< content-length: 21
<
* Closing connection
Function not found...
I rolled back a couple of versions and it seems like v17.8.1 is the last version I can get this working in.
The documentation at https://docs.netlify.com/integrations/email-integration/ does not mention anything that isn't already done.
Steps to reproduce
-
npm install [email protected] -g -
netlify build -
netlify dev
Configuration
[build]
publish = "public"
command = "hugo --gc --minify"
[context.production.environment]
HUGO_VERSION = "0.121.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[[plugins]]
package = "@netlify/plugin-emails"
Environment
System:
OS: Linux 6.1 Arch Linux
CPU: (16) x64 AMD Ryzen 9 PRO 6950H with Radeon Graphics
Container: Yes
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 21.2.0 - /usr/bin/node
npm: 10.2.4 - /usr/bin/npm
pnpm: 8.8.0 - /usr/bin/pnpm
bun: 0.8.0 - ~/.bun/bin/bun
npmGlobalPackages:
netlify-cli: 17.10.1
Hey @zapling thanks for reporting this issue. I am seeing the same problem. Unfortunately I can't downgrade, when I do Netlify Dev crashes for me.