title: Why Can't My AWS instance install node-sass pacakage?
body: <p>I made an app using Node and am trying to host it using AWS's Elastic Beanstalk, but it always fails npm install when it reaches node-sass. Here is the error from the logs:</p>
  
  <blockquote>
    <p>5162 error node-sass@4.5.0 postinstall: <code>node scripts/build.js</code>
    5162 error Exit status 1
    5163 error Failed at the node-sass@4.5.0 postinstall script 'node scripts/build.js'.
    5163 error Make sure you have the latest version of node.js and npm installed.
    5163 error If you do, this is most likely a problem with the node-sass package,
    5163 error not with npm itself.
    5163 error Tell the author that this fails on your system:
    5163 error     node scripts/build.js
    5163 error You can get information on how to open an issue for this project with:
    5163 error     npm bugs node-sass
    5163 error Or if that isn't available, you can get their info via:
    5163 error     npm owner ls node-sass
    5163 error There is likely additional logging output above.
    5164 verbose exit [ 1, true ]</p>
  </blockquote>
  
  <p>And here is my repository: <a href="https://github.com/Jacob-Elder/react-socket.io-messaging" rel="noreferrer">https://github.com/Jacob-Elder/react-socket.io-messaging</a></p>
  
  <p><a href="https://i.stack.imgur.com/H0eQo.png" rel="noreferrer">This is my aws configuration</a></p>
  
  <p>I searched this issue and found some people reinstalled node-sass with the  '--unsafe-perm' flag, but this doesn't seem to be a permissions issue. I'm new to AWS and coding so any help is much appreciated!</p>