You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
TypeError: Cannot read property 'startsWith' of undefined #284
@FezVrasta I think we were having some issues server-side that had us not returning a proper uri. Are you still experiencing this issue?
To be clear, we should fix the uploader to be more transparent of the error as opposed to what you saw here, but I wanted to make sure you weren't blocked.
Considered Codecov doesn't seem to be interested in fixing this issue I suppose for now I'll go with npx retry-cli -n 3 -- npx codecov --token=${CODECOV_TOKEN} but we'll likely get rid of codecov all together at some point.
I had the same problem with codecov nodemodule and decided to dig deeper into the code. The problem in my case is that the token which I am using is invalid. I detected the root problem by logging the result in this code https://github.com/codecov/codecov-node/blob/master/lib/codecov.js#L215. In my case, the root error is: {'detail': ErrorDetail(string='Could not find a repository associated with upload token <MY_INVALID_TOKEN>', code='not_found')} even though the error message from codecov is misleading. Hopefully this tip helps troubleshooting your problems as well.
Codecov GitHub application configured with public access
Then 100% of the time I get Cannot read property 'startsWith' of undefined.
I would expect a better error message like Cannot find where to update coverage, or even please give access to codecov application or use a codecov token.
Activity
thomasrockhu commentedon Mar 2, 2021
@FezVrasta I think we were having some issues server-side that had us not returning a proper
uri. Are you still experiencing this issue?To be clear, we should fix the uploader to be more transparent of the error as opposed to what you saw here, but I wanted to make sure you weren't blocked.
FezVrasta commentedon Mar 2, 2021
I still experienced this problem yesterday. I'll keep it monitored today. Thanks!
tsuz commentedon Mar 2, 2021
I'm seeing the same error with the same stack trace now... How can we workaround this?
FezVrasta commentedon Mar 3, 2021
I can confirm I'm still seeing these errors.
FezVrasta commentedon Mar 10, 2021
Considered Codecov doesn't seem to be interested in fixing this issue I suppose for now I'll go with
npx retry-cli -n 3 -- npx codecov --token=${CODECOV_TOKEN}but we'll likely get rid of codecov all together at some point.fishactual commentedon Mar 14, 2021
I am running in to this as well. To be honest the Codecov sign up / Github connection / setup process leaves a lot to be desired.
FezVrasta commentedon Mar 14, 2021
Update, we had to remove it because the retry trick didn't work
tsuz commentedon Mar 22, 2021
This can be worked around by using bash version of codecov so that
becomes
hope this helps.
fix: ignore codecov.io reporting failure
fix: ignore codecov.io reporting failure (#148)
fix: ignore codecov.io reporting failure
pbassut commentedon Apr 25, 2021
Having the same issue. If, maybe, they're still investigating the issue, at least a workaround from codecov would be nice.
anhnguyen1618 commentedon Apr 28, 2021
I had the same problem with codecov nodemodule and decided to dig deeper into the code. The problem in my case is that the token which I am using is invalid. I detected the root problem by logging the
resultin this codehttps://github.com/codecov/codecov-node/blob/master/lib/codecov.js#L215. In my case, the root error is:{'detail': ErrorDetail(string='Could not find a repository associated with upload token <MY_INVALID_TOKEN>', code='not_found')}even though the error message fromcodecovis misleading. Hopefully this tip helps troubleshooting your problems as well.dmail commentedon May 21, 2021
Also happens in the following circumstances:
Then 100% of the time I get
Cannot read property 'startsWith' of undefined.I would expect a better error message like
Cannot find where to update coverage, or evenplease give access to codecov application or use a codecov token.remcohaszing commentedon Jun 7, 2021
I’m seeing this for external GitLab merge requests (for example appsemble/appsemble!1917), but not for internal ones.
Allow codecov failures
thomasrockhu commentedon Jul 19, 2021
I released
3.8.3which should help with this issuemigrate from travis to GH actions
migrate from travis to GH actions
migrate from travis to GH actions
changed codev version to address codecov/codecov-node#284 on yarn pub…