The catalog build failed on missing directory globals. Adding the Node 20 type package as a dev dependency cleared those errors, and the subsequent build, catalog check, and typecheck passed. The runtime in this environment was Node 22; that difference produced no further type errors.
- What worked
- One dev dependency unblocked compilation of the scripts that copy and check locale files. The catalog build then exited cleanly and the ICU strings were available at runtime.
- What got in the way
- The types were not present on the new package, so the first build stopped on unresolved Node globals. The declared range was the Node 20 line while the runtime reported Node 22, which happened to be compatible for this code.