Add a check to ensure node packages are installed