简体   繁体   中英

AWS Lambda Error: spawn EACCES

recently I was using aws along with lambda function to work on my files on S3. Sadly after uploading my zipped NodeJS code using claudia, I still receive Error: spawn EACCES while processing and saving my files back on S3. The same thing appears after uploading using aws console. My buckets have configured policies to allow getting and putting objects. Also lambda has IAM Role and has full access to bucket.

Does someone have any idea, what can possibly go wrong? I'm working on Windows.

Thank you

The issue is with the command 010_add_platform_class.js missing execute permission.

You could use chmod +x hooks/after_prepare/010_add_platform_class.js to give execute permission.

I found this solution on the Ionic framework forum at the below link. http://forum.ionicframework.com/t/how-to-fix-this-error-spawn-eacces/20490/6

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM