You started Node with the security permission model (`--permission`) but didn't grant access to the specific resource your code touches. Filesystem paths, child processes, and worker threads each need explicit flags like `--allow-fs-read`, `--allow-fs-write`, or `--allow-child-process`.