描述
Hi,
I am trying to invoke aws java function locally using "invoke local" command, but getting below error. Not sure invoke-bridge-1.0.jar has been packaged ?
serverless invoke local --function hello
Serverless: In order to get human-readable output, please implement "toString()" method of your "ApiGatewayResponse" object. Error: Unable to access jarfile /usr/local/lib/node_modules/serverless/lib/plugins/aws/invokeLocal/java/target/invoke-bridge-1.0.jar
and error message sometimes different as well.
sudo serverless invoke local --function hello -v
Serverless: In order to get human-readable output, please implement "toString()" method of your "ApiGatewayResponse" object. events.js:182 throw er; // Unhandled 'error' event ^
Error: write EPIPE at _errnoException (util.js:1024:11) at WriteWrap.afterWrite [as oncomplete] (net.js:868:14)