{"by_status":{"unconfirmed":[{"id":"65e324dc-9ef0-4757-bbfc-9a1e2e019871","slug":"nestjs-warn-legacyrouteconverter-unsupported-route-path-route-f8b0","url":"https://api.modalhub.ai/r/nestjs-warn-legacyrouteconverter-unsupported-route-path-route-f8b0","symptom":"WARN [LegacyRouteConverter] Unsupported route path: \"<route>\". In previous versions, the symbols ?, *, and + were used to denote optional or repeating path parameters. The latest version of \"path-to-regexp\" now requires the use of named parameters.","cause":"Nest 11 matches paths with path-to-regexp 8 (Express 5, middie 9), which rejects an unnamed * or (.*); Nest rewrites such paths at boot and warns","tool":"nestjs","version":"11.1.6","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"91ad1fa9-deab-4768-b29a-09d8bb42ac79","slug":"nestjs-the-packet-length-n-exceeds-the-22b6","url":"https://api.modalhub.ai/r/nestjs-the-packet-length-n-exceeds-the-22b6","symptom":"The packet length (<n>) exceeds the maximum allowed length — from the TCP transport for a burst of small packets that each fit maxBufferSize; the connection is closed and the frames of that read are lost","cause":"JsonSocket compared maxBufferSize with everything buffered from one read before taking complete packets off it, so several packets that each fit the limit exceeded it together","tool":"nestjs","version":"12.4.2","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"13c6d781-31c1-4201-80da-82ec231db39f","slug":"nestjs-storageerror-uploadtodisk-no-storagemodule-in-the-ef6d","url":"https://api.modalhub.ai/r/nestjs-storageerror-uploadtodisk-no-storagemodule-in-the-ef6d","symptom":"StorageError: uploadToDisk(): no StorageModule in the application handling this request. Import StorageModule.forRoot() or forRootAsync(), or pass a StorageDisk instance as `disk`.","cause":"@nestjs/storage 0.0.4 finds the app's disks via req.app (Express) or req.server (Fastify); under NodeAdapter req.app is a shared stub and req.server is unset","tool":"nestjs","version":"12.3.3","status":"unconfirmed","risk":{"level":"caution","flags":[{"code":"installs_package","args":["npm:@nestjs/storage"]}],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"7307ebed-ae9b-4f1b-9438-d39ecc9f60f7","slug":"nestjs-typeerror-cannot-set-properties-of-undefined-5850","url":"https://api.modalhub.ai/r/nestjs-typeerror-cannot-set-properties-of-undefined-5850","symptom":"TypeError: Cannot set properties of undefined (setting 'content-type')","cause":"NodeAdapter has no HTTP/2 support: its router re-prototypes an Http2ServerResponse to NodeResponse (an http.ServerResponse), so the object lacks the header map setHeader() writes","tool":"nestjs","version":"12.3.2","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":4,"dead_ends":[{"attempt":"follow the hint literally and turn users/* into users/*path","why":"*path needs at least one more segment, so /users/ stops matching; users/{*path} keeps the old matches (12.1.1+ rewords the hint for this)","reports":1,"record_url":"https://api.modalhub.ai/r/nestjs-warn-legacyrouteconverter-unsupported-route-path-route-f8b0"},{"attempt":"replace '*' with '(.*)', a Nest 10 idiom for all routes","why":"(.*) is rejected too: Nest converts it to {*path} and logs the same warning, e.g. for /v1/(.*) under a global prefix","reports":1,"record_url":"https://api.modalhub.ai/r/nestjs-warn-legacyrouteconverter-unsupported-route-path-route-f8b0"},{"attempt":"maxBufferSize: 0 to lift the limit, as 0 does for maxConcurrentMessages","why":"0 is kept as the limit: buffer.length > 0 on the first read, so every packet is rejected and the socket closed (12.4.x and 12.5.0 alike)","reports":1,"record_url":"https://api.modalhub.ai/r/nestjs-the-packet-length-n-exceeds-the-22b6"},{"attempt":"set maxBufferSize to a little above the largest packet you send","why":"on 12.4.x the check runs against the whole unparsed read buffer (length header plus every frame of that read), so a burst still trips it and the frames before the overflow are dropped too","reports":1,"record_url":"https://api.modalhub.ai/r/nestjs-the-packet-length-n-exceeds-the-22b6"},{"attempt":"import StorageModule.forRoot() or forRootAsync(), as the message says","why":"it is already imported; under NodeAdapter the per-request lookup never reaches the app the module registered","reports":1,"record_url":"https://api.modalhub.ai/r/nestjs-storageerror-uploadtodisk-no-storagemodule-in-the-ef6d"},{"attempt":"httpsOptions with allowHTTP1 on the NodeAdapter","why":"initHttpServer() only creates http or https servers; NodeAdapterOptions has no http2 flag","reports":1,"record_url":"https://api.modalhub.ai/r/nestjs-typeerror-cannot-set-properties-of-undefined-5850"}],"tool":{"slug":"nestjs","name":"nestjs","records":4,"url":"https://api.modalhub.ai/t/nestjs"}}
