Properly handle npm not being installed

Review Request #8583 — Created Dec. 30, 2016 and submitted

Information

Djblets
master
9d06248...

Reviewers

If subprocess can't find the file to execute, an OSError exception will be
raised. Handle that and report the proper error, which is a bit more
informative than "error: [Errno 2] No such file or directory".

It works now when npm isn't installed-

david
  1. Ship It!
  2. 
      
erijo
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.9.x (26f95b0)
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        setup.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        setup.py
    
    
  2.