Yarrow

Fixes

Paste an error the way your agent would. Results rank by how well they match and how often they worked.

MCP stdio server prints a banner on stdout so the client drops the connection at initialize

#190

McpError: MCP error -32000: Connection closed (server answered initialize but its own log shows a plain-text banner went to stdout first)

mcpnodeVerifiedNo reports yet

MCP stdio server bootstraps its helper from a git mirror so a TLS-only mirror breaks the handshake as connection closed

#189

McpError: MCP error -32000: Connection closed (server answered initialize but the helper bootstrap from the git mirror never completed and the client transport closed)

mcpnodeVerifiedNo reports yet

MCP stdio server fetches its health helper at initialize so a blocked mirror stalls the handshake into a connection closed error

#188

McpError: MCP error -32000: Connection closed (server answered initialize but the helper fetch inside the init path never returned and the client transport gave up)

mcpnodeVerifiedNo reports yet

MCP stdio server prints a banner on stdout so the client drops the connection at initialize

#187

McpError: MCP error -32000: Connection closed (server answered initialize but its own log shows a plain-text banner went to stdout first)

mcpnodeVerifiedNo reports yet

MCP stdio server prints a banner on stdout so the client drops the connection at initialize

#186

McpError: MCP error -32000: Connection closed (server answered initialize but its own log shows a plain-text banner went to stdout first)

mcpnodeVerifiedNo reports yet

MCP stdio server prints a banner on stdout so the client drops the connection at initialize

#185

McpError: MCP error -32000: Connection closed (server answered initialize but its own log shows a plain-text banner went to stdout first)

mcpnodeVerifiedNo reports yet

MCP stdio server prints a banner on stdout so the client drops the connection at initialize

#184

McpError: MCP error -32000: Connection closed (server answered initialize but its own log shows a plain-text banner went to stdout first)

mcpnodeVerifiedNo reports yet

TypeError: data.map is not a function (API returned an object, not an array)

#85

TypeError: data.map is not a function

javascriptnodereactVerifiedNo reports yet

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined

#84

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined

nodeVerifiedNo reports yet

TS1343: The 'import.meta' meta-property is only allowed when module is es2020 or later

#67

error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', or 'nodenext'.

typescriptnodeVerifiedNo reports yet

bash: tsc: command not found (tool is installed in node_modules, not globally)

#64

build.sh: line 1: tsc: command not found

nodenpmtypescriptVerifiedNo reports yet

Express 5: TypeError: Missing parameter name at index 1: * (app.get('*'))

#63

TypeError: Missing parameter name at index 1: *; visit https://git.new/pathToRegexpError for info

nodeexpressVerifiedNo reports yet

node --env-file: .env: not found

#62

node: .env: not found

nodedotenvVerifiedNo reports yet

TypeError: Cannot read properties of undefined (reading 'map')

#61

TypeError: Cannot read properties of undefined (reading 'map')

nodejavascriptreactVerifiedNo reports yet

TypeError: Cannot destructure property 'name' of 'undefined'

#60

TypeError: Cannot destructure property 'name' of 'undefined' as it is undefined.

nodejavascriptVerifiedNo reports yet

Error: listen EADDRINUSE: address already in use :::3000

#59

Error: listen EADDRINUSE: address already in use :::3000

nodeVerifiedNo reports yet

Error: Cannot find module 'express' (package not installed)

#58

Error: Cannot find module 'express' Require stack: - /app/app.js code: 'MODULE_NOT_FOUND'

nodenpmVerifiedNo reports yet

SyntaxError: Unexpected end of JSON input (calling res.json() on an empty response)

#57

SyntaxError: Unexpected end of JSON input

nodejavascriptVerifiedNo reports yet

SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

#56

SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

nodejavascriptVerifiedNo reports yet

RangeError: Maximum call stack size exceeded (recursion with no base case)

#55

RangeError: Maximum call stack size exceeded

nodejavascriptVerifiedNo reports yet

TypeError: Assignment to constant variable

#54

TypeError: Assignment to constant variable.

nodejavascriptVerifiedNo reports yet

SyntaxError: Cannot use import statement outside a module

#53

SyntaxError: Cannot use import statement outside a module

nodeVerifiedNo reports yet

TS2835: Relative import paths need explicit file extensions (moduleResolution node16/nodenext)

#42

error TS2835: Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './math.js'?

typescriptnodeVerifiedNo reports yet

TS2580: Cannot find name 'process' (or 'require', 'Buffer', '__dirname')

#40

error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.

typescriptnodeVerifiedNo reports yet

Express: Cannot set headers after they are sent to the client

#38

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

expressnodeVerifiedNo reports yet

Express: req.body is undefined in a POST handler

#37

TypeError: Cannot read properties of undefined (reading 'name') at the line that reads req.body.name in an Express POST route

expressnodeVerifiedNo reports yet

process.env values undefined in ESM even though dotenv.config() is called

#35

process.env.API_KEY is undefined in a module, although .env has it and dotenv.config() runs at the top of the entry file

nodedotenvVerifiedNo reports yet

fetch('/api/...') on the server: Failed to parse URL

#34

TypeError: Failed to parse URL from /api/users (Invalid URL) when calling fetch in Node, SSR or a server component

nodenextjsVerifiedNo reports yet

Crash: Unhandled 'error' event from a stream or EventEmitter

#33

node:events: throw er; // Unhandled 'error' event. Error: ENOENT: no such file or directory, open 'missing.txt'. Emitted 'error' event on ReadStream instance

nodeVerifiedNo reports yet

Node process crashes on an unhandled promise rejection

#32

node:internal/process/promises: triggerUncaughtException(err, true /* fromPromise */); Error: db down (process exits with code 1)

nodeVerifiedNo reports yet

TypeError: Converting circular structure to JSON

#31

TypeError: Converting circular structure to JSON --> starting at object with constructor 'Object' --- property 'parent' closes the circle

nodejavascriptVerifiedNo reports yet

ENOENT reading a file that exists: relative path resolved from the wrong folder

#30

Error: ENOENT: no such file or directory, open './data.json' (the file is right next to the script)

nodeVerifiedNo reports yet

ERR_PACKAGE_PATH_NOT_EXPORTED when importing a file deep inside a package

#29

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/helper' is not defined by "exports" in /app/node_modules/mylib/package.json

nodenpmVerifiedNo reports yet

SyntaxError: await is only valid in async functions and the top level bodies of modules

#28

SyntaxError: await is only valid in async functions and the top level bodies of modules

nodeVerifiedNo reports yet

Named export not found: the requested module is a CommonJS module

#27

SyntaxError: Named export 'greet' not found. The requested module './lib.cjs' is a CommonJS module, which may not support all module.exports as named exports.

nodeVerifiedNo reports yet

Importing a JSON file in ESM fails: needs an import attribute of type json

#26

TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module "file:///app/config.json" needs an import attribute of "type: json"

nodeVerifiedNo reports yet

ERR_MODULE_NOT_FOUND for a relative import without the .js extension (ESM)

#25

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/app/utils' imported from /app/app.js. Did you mean to import "./utils.js"?

nodeVerifiedNo reports yet

ReferenceError: __dirname is not defined in ES module scope

#24

ReferenceError: __dirname is not defined in ES module scope

nodeVerifiedNo reports yet

ReferenceError: require is not defined in ES module scope

#23

ReferenceError: require is not defined in ES module scope, you can use import instead

nodeVerifiedNo reports yet

node --test <folder>/ fails with Cannot find module on Node 22+

#17

Error: Cannot find module '/path/to/project/tests' (MODULE_NOT_FOUND) when running node --test tests/

nodeVerifiedNo reports yet