Enigmatic-Smile / serverless-plugin-optimize

⛔️ DEPRECATED ⛔️ Bundle with Browserify, transpile and minify with Babel automatically to your NodeJS runtime compatible JavaScript

Home Page:https://www.npmjs.com/package/serverless-plugin-optimize

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

_optimize directory permissions

mcwagner opened this issue · comments

I’m a newbie who’s rather baffled at a permission issue when deploying with the plug-in installed. I’m getting error: EACCES: permission denied, open ‘/var/task/_optimize…’ upon invocation. The js files are all modded to 644 prior to deploy. However when inspecting the zipped functions in .serverless directory the _optimize dir the dir permissions are set to 640. Running centos7 with NVM alias default set to Node 8.10, but have also tried with 6.10. I'm and running serverless 1.36.3.

Thoughts?

Thanks in advance.