katallaxie / serverless-dart

⚡ 🎯 a serverless framework plugin for Dart applications
https://www.npmjs.com/package/serverless-dart
MIT License
29 stars 7 forks source link

Unable to invoke functions offline, results in "bootstrap: permission denied" error. #3

Closed MichaelCharles closed 3 years ago

MichaelCharles commented 3 years ago

🐛 Bug description

When attempting to invoke a function offline by using DEBUG_SLS=* sls invoke local -f hello -vvv, the following error occurs.

{"errorType":"exitError","errorMessage":"RequestId: 3f59fa65-eb97-1e5b-a6fa-b4e87afe4fe9 Error: fork/exec /var/task/bootstrap: permission denied"}

🤔 Expected Behavior

The function should invoke offline.

👟 Steps to reproduce

Use the serverless-aws-dart template to begin a project, and then attempt to invoke a function offline (DEBUG_SLS=* sls invoke local -f hello -vvv).

🌍 Your environment

MacOS Big Sur 11.1 node v14.2.0 serverless: Framework Core: 2.16.1 Plugin: 4.3.0 SDK: 2.3.2 Components: 3.4.3

MichaelCharles commented 3 years ago

I made an issue on the serverless-aws-dart repository as well.

katallaxie commented 3 years ago

Should be fixed by https://github.com/katallaxie/serverless-dart/releases/tag/v0.0.2-beta.8.