I see the following error when executing npm install -g serverless via buildspec.yml from AWS Codebuild
storage-engine@3.0.7 postinstall /usr/local/lib/node_modules/serverless/node_modules/storage-engine node ./compatibility/detect.js
Error: EACCES: permission denied, open '/usr/local/lib/node_modules/serverless/node_modules/storage-engine/lib/compatibility/index.js'