been getting below error when I try to serverless invoke --function hello -p event.json
any idea what it means ?
Unexpected token /
For debugging logs, run again after setting SLS_DEBUG env var.
been getting below error when I try to serverless invoke --function hello -p event.json
any idea what it means ?
Unexpected token /
For debugging logs, run again after setting SLS_DEBUG env var.
It looks like you have an issue with your code or event.json
.
If you set SLS_DEBUG you’ll get a more detailed stack track which might include a specific file and line number. Run this command to set it once: SLS_DEBUG=* serverless invoke -f hello -p event.json
.