I'm new to learning javascript and I'm running into an issue with trying to deploy this web app using heroku: https://github.com/girliemac/web-speech-ai. The error message says:
Error: 'clientAccessToken' cannot be empty.
I am getting this error message after I have already written the api key in the .env and app.json file. Can someone help me resolve this?
Edit: I already have the dotenv module installed.
Following the documention:https://devcenter.heroku.com/articles/config-vars, I was able to resolve the issue by setting the config vars. I thought just writing it in the .env of the app's root directory would work, but I also needed to write it for the heroku app as well.