laverdet / node-fibers

Fiber/coroutine support for v8 and node.
MIT License
3.56k stars 224 forks source link

improvement(build.js): add install message for Arch linux users #438

Open ElijahKotyluk opened 4 years ago

ElijahKotyluk commented 4 years ago

I would like to add a helper message for Arch and Manjaro linux when build errors like so:

console.error(
  'node-gyp exited with code: '+ err+ '\n'+
  'Please make sure you are using a supported platform and node version. If you\n'+
  'would like to compile fibers on this machine please make sure you have setup your\n'+
  'build environment--\n'+
  'Windows + OS X instructions here: https://github.com/nodejs/node-gyp\n'+
  'Ubuntu users please run: `sudo apt-get install g++ build-essential`\n'+
  'RHEL users please run: `yum install gcc-c++` and `yum groupinstall \'Development Tools\'` \n'+
  'Alpine users please run: `sudo apk add python make g++`'
);