switching branches causes crash
Describe the bug
Switching branches caused a crash
Steps to reproduce
[app] npm run dev:app exited with code 1
TypeError: res.writeHead is not a function
at ProxyServer.
System: OS: macOS 14.1.2 CPU: (8) arm64 Apple M2 Binaries: Node: 18.16.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.5.1 - /usr/local/bin/npm Browsers: Chrome: 124.0.6367.156 Safari: 17.1.2 npmGlobalPackages: netlify-cli: 13.2.2
Configuration
more info on configuring this file: https://www.netlify.com/docs/netlify-toml-reference/
[build] command = "npm run build" functions = "netlify/functions" publish = "dist"
(optional) Settings for Netlify Dev
[dev] command = "npm run dev" # Command to start your dev server
port = 3000 # Port that the dev server will be listening on
publish = "dist" # Folder with the static content for _redirect file
Netlify Image CDN (https://docs.netlify.com/image-cdn/overview/)
[images]
* Allow Convex instances for prod and local dev
* Allow Clerk's image server for when user image comes from Google OAuth
remote_images = ["https://[a-z0-9-]+.convex.cloud/api/storage/.+", "https://images.clerk.dev/.+"]
[[edge_functions]] function = "rendermanifest" path = "/webmanifest/*"
[[edge_functions]] function = "ogImage" path = "/ogImage"
[[edge_functions]] function = "touchicon" path = "/touchicon/*"
[[plugins]] package = "netlify-plugin-playwright-cache"
[[plugins]] package = "netlify-plugin-ttl-cache" [plugins.inputs] path = "build" ttl = 30
[[redirects]] from = "/site/*" to = "https://gotwonder-home.webflow.io/:splat" status = 200 force = true
[functions] external_node_modules = ["playwright-core", "playwright-aws-lambda","chrome-aws-lambda"]
Environment
envinfo not found