if (process.env.npm_execpath.indexOf('yarn') === -1) { console.error('You must use Yarn to install dependencies:'); console.error(' $ yarn install'); process.exit(1); }