NV2001Package Manager

Package Not Found

A declared dependency package is not installed locally in .nextviper/packages or cannot be found in the registry.

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

Why this error occurs

Attempting to build or run a project before running 'nextviper install', misspelling a package name in 'nextviper.toml', or referencing a private or unreleased package.

Incorrect Code
// in nextviper.toml
[dependencies]
non_existent_pkg = "^1.0.0"

// running 'nextviper build' without installing dependencies
Corrected Code
// add package via CLI
nextviper add math_utils

// or install existing manifest dependencies
nextviper install

Troubleshooting & Remediation

  • 1Run 'nextviper install' to download and link all manifest dependencies.
  • 2Search the NextViper Registry (https://nextviper.nuratix.com/packages) to confirm package existence.
  • 3Check nextviper.toml to verify dependency names and version requirements.

Relevant CLI Commands

$ nextviper add <package>$ nextviper install$ nextviper list