code: def _check_npm():
      try:
          subprocess.check_output([NPM_CMD, "--version"])
      except OSError as e:
          raise SystemExit(f"error checking npm: {e}") from e
  
file_path: guildai/setup.py
imports: import os
  import platform
  import subprocess
  from pkg_resources import Distribution
  from pkg_resources import PathMetadata
  from setuptools import find_packages, setup
  from setuptools.command.build_py import build_py
  import guild
  from guild import log
label_desc: Use image node_id 3 for calling a global function with example usage: _check_npm() without return types