Fixing npm install so that it runs in external shell