node-fibers icon indicating copy to clipboard operation
node-fibers copied to clipboard

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

Open ElijahKotyluk opened this issue 4 years ago • 0 comments

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++`'
);

ElijahKotyluk avatar May 16 '20 16:05 ElijahKotyluk