Guys I'm running serverless twilio and i've placed IDENTITY in my .env file, then restarted npm
npm restart
I'm still getting the same error:
twilio token:chat --chat-service-sid ISxxxxxx
--profile pocket-postgrad
--identity $IDENTITY -l debug
ยป twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: "https://github.com/twilio-labs/plugin-token/issues"
[DEBUG] identity is required to be specified in options
[DEBUG] Error: identity is required to be specified in options
I've been at this a while. I have to say, tbf, i'm not a huge fan of the Twilio docs.