You run npm update on a Friday afternoon. Tests were passing that morning. Now your terminal looks like this:



CompactError: Version mismatch
Expected circuit artifact version: 4.1.0
Found: 3.8.2
Contract: ./managed/counter/contract/index.cjs






Nothing is actually wrong with your .compact source files. You just have stale compiled...