cli icon indicating copy to clipboard operation
cli copied to clipboard

switching branches causes crash

Open magicseth opened this issue 1 year ago • 0 comments

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. (file:///Users/sethraphael/Projects/padtime/node_modules/netlify-cli/dist/utils/proxy.js:360:13) at ProxyServer.emit (/Users/sethraphael/Projects/padtime/node_modules/netlify-cli/node_modules/eventemitter3/index.js:204:33) at Socket.onOutgoingError (/Users/sethraphael/Projects/padtime/node_modules/netlify-cli/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:157:16) at Socket.emit (node:events:513:28) at Socket.emit (node:domain:489:12) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at processTicksAndRejections (node:internal/process/task_queues:82:21)

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

magicseth avatar May 10 '24 16:05 magicseth