NV2002CLI

File Not Found

The CLI or compiler failed to open a specified file path.

BREAKPOINT: main.nv:42rax = 0x7ffd9b82rbx = 0x00000001

Why this error occurs

Target file does not exist, incorrect file path specified in command arguments, or insufficient filesystem permissions.

Incorrect Code
// running non-existent file
$ nextviper run src/app_wrong_name.nv
Corrected Code
// specify valid file path
$ nextviper run src/main.nv

Troubleshooting & Remediation

  • 1Check that the target file path exists using 'ls' or file explorer.
  • 2Verify working directory before running relative paths.
  • 3Ensure file read permissions ('chmod +r <file>').

Relevant CLI Commands

$ nextviper run <file.nv>$ nextviper check <file.nv>