Open Jlcasado opened 4 years ago
What kind of error are you getting in the console log?
Try logging in and logging out, fixed it for me.
Although my token was set to never expire, creating a new one fixed this for me.
[github assistant] TypeError: Cannot read properties of undefined (reading 'forEach')
I tried logging out and into Google to no avail. The error is also very persistent: once it's there better to give up trying.
Interestingly, this message will persist even if the code is changed (eg. in my case forEach syntax to the for (i = 0... style syntax.) I don't think it has anything to do with the code.
What fixed it for me was to uninstall the GitHub assistant chrome extension (chrome://extensions/) and to generate a new GitHub token (https://github.com/settings/keys), then reinstall the extension (https://chrome.google.com/webstore/detail/google-apps-script-github/lfjcgcmkmjjlieihflfhjopckgpelofo?hl=en) with that new token. That fix seems to last for a few weeks.
It is an annoying workaround, but to my knowledge, this extension is still this is the only game in town for this use case.
I find that this error goes away after a few tries...
If anyone has this problem again, it was a github token scope issue for me. You need to allow gist and repo access.
After sucessfully logging into gitlab CE, I returned to the project in GA and I got the error: TypeError: Cannot read property 'forEach' of undefined
Where can I find more details to troubleshoot the error?
I made the changes suggested in #117 to use our own gitlab CE instance.