Closed MichaelCharles closed 3 years ago
When attempting to invoke a function offline by using DEBUG_SLS=* sls invoke local -f hello -vvv, the following error occurs.
DEBUG_SLS=* sls invoke local -f hello -vvv
{"errorType":"exitError","errorMessage":"RequestId: 3f59fa65-eb97-1e5b-a6fa-b4e87afe4fe9 Error: fork/exec /var/task/bootstrap: permission denied"}
The function should invoke offline.
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).
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
I made an issue on the serverless-aws-dart repository as well.
Should be fixed by https://github.com/katallaxie/serverless-dart/releases/tag/v0.0.2-beta.8.
🐛 Bug description
When attempting to invoke a function offline by using
DEBUG_SLS=* sls invoke local -f hello -vvv
, the following error occurs.🤔 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