WHAT THE COMPILER SAYS
src/index.ts(3,28): error TS2591: Cannot
find name 'process'. Do you need to install type
definitions for node? Try `npm i --save-dev @types/node` and then add
'node' to the types field in your tsconfig.
AND THE IMPORT WITH IT
✕import ... from "node:fs"
those declarations live in @types/node too, and
nothing else puts them in the program