fix for don't passing envirement variables to npm #287