run

Function run 

Source
pub fn run(
    dev_tools_dir: &Path,
    tool: &str,
    packages: &[&str],
) -> Result<PathBuf>
Expand description

Downloads and installs Node.js packages using npm.

ยงErrors

  • Executing the npm command fails or returns a non-zero exit status.
  • A filesystem operation (create/read/write/remove) fails.