Skip to content

fix: fail build/deploy when using not yet unsupported Node.js Midleware #1774

fix: fail build/deploy when using not yet unsupported Node.js Midleware

fix: fail build/deploy when using not yet unsupported Node.js Midleware #1774

Triggered via pull request July 30, 2025 11:12
Status Failure
Total duration 1m 31s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Lint
Process completed with exit code 2.
Lint: src/build/functions/edge.ts#L340
Argument of type '{ regexp: string; originalSource: string; has?: RouteHas[] | undefined; missing?: RouteHas[] | undefined; }[]' is not assignable to parameter of type 'MiddlewareMatcher[]'.
Lint
Process completed with exit code 1.
Lint: src/build/functions/edge.ts#L339
'netlifyDefinitions' is already declared in the upper scope on line 205 column 9.