modified   gnu/packages/node-xyz.scm
@@ -5130,7 +5130,10 @@ (define-public node-vscode-uri
             (lambda _
               ;; Otherwise, we'd need mocha and jest typescript types.
               (modify-json "src/tsconfig.json"
-                (add-fields '(("exclude" . #("test")))))))
+                (add-fields '(("exclude" . #("test"))
+                              ;; We also need to manually register the node
+                              ;; types, for some reason.
+                              ("compilerOptions.types" . #("node")))))))
           (add-after 'build 'really-build
             (lambda _
               (invoke "npm" "run" "compile")))

Generated by apteryx using scpaste at Sat Oct 24 16:17:45 2026. JST. (original)