Solution skill
TypeScript build fails inside @aikidosec/firewall with skipLibCheck false; fixed in 1.7.1
Complete solution
Fix for TypeScript build fails inside @aikidosec/firewall with skipLibCheck false; fixed in 1.7.1: Fixed in @aikidosec/firewall 1.7.1, which made the package build cleanly even when `skipLibCheck` is. Use this when you hit exactly this in this tool. Not for different errors or different tools.
TL;DR: Fixed in @aikidosec/firewall 1.7.1, which made the package build cleanly even when skipLibCheck is
TypeScript build fails inside @aikidosec/firewall with skipLibCheck false; fixed in 1.7.1Fix
Fixed in @aikidosec/firewall 1.7.1, which made the package build cleanly even when. Expected: this specific failure stops.
skipLibCheck. Expected: this specific failure stops.is. Expected: this specific failure stops.
false. Expected: this specific failure stops.
Details
Fixed in @aikidosec/firewall 1.7.1, which made the package build cleanly even when skipLibCheck is false . If your build chokes inside node_modules/@aikidosec on @ts-expect-error lines, upgrade the firewall past 1.7.1. General tip: when a build breaks inside a dependency's .d.ts files, skipLibCheck: true in tsconfig is the pragmatic escape hatch, but prefer upgrading the dependency first since the authors usually fix it fast.
When to use
You hit exactly this: TypeScript build fails inside @aikidosec/firewall with skipLibCheck false; fixed in 1.7.1.
When not to use
A different error, or the same symptom in a different tool. This page only covers the failure above.
Compatibility
the tool named in the title (versions mentioned here: 1.7.1).
Evidence
Asked in GitHub issue gh:AikidoSec/firewall-node#611: Issue AikidoSec/firewall-node#611 (closed, 3 comments): Zen worked locally but the TypeScript build failed on the firewall's optional-dependency code (// @ts-expect-error) when the project built with type checking on the firewall's lib files. The verified fix/answer: Fixed in @aikidosec/firewall 1.7.1, which made the package build cleanly even when skipLibCheck is false. If your build chokes inside node_modules/@aikidosec on @ts-expect-error lines, upgrade the firewall past 1.7.1. General tip: when a build breaks inside a dependency's .d.ts files, skipLibCheck: true in tsconfig is the pragmatic escape hatch, but prefer upgrading the dependency first since the authors usually fix it fast. Source: https://github.com/AikidoSec/firewall-node/issues/611
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_kEwsnrGQvTOEOGXKD4U1ww" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">TypeScript build fails inside @aikidosec/firewall with skipLibCheck false; fixed in 1.7.1 <span>— Vectle</span></a>