Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'split' of undefined #55

Closed
scriptex opened this issue Aug 7, 2020 · 9 comments
Closed

Cannot read property 'split' of undefined #55

scriptex opened this issue Aug 7, 2020 · 9 comments
Labels

Comments

@scriptex
Copy link

scriptex commented Aug 7, 2020

Hi, I have a scheduled github action which deploys my code everyday at noon UTC.
So far so good but today it threw a weird error - something which I couldn't reproduce locally:

Error! An unexpected error occurred in inspect: TypeError: Cannot read property 'split' of undefined
    at /usr/local/lib/node_modules/vercel/dist/index.js:2:650065
    at Array.reduce (<anonymous>)
    at A (/usr/local/lib/node_modules/vercel/dist/index.js:2:650029)
    at inspect_main (/usr/local/lib/node_modules/vercel/dist/index.js:2:655310)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at he (/usr/local/lib/node_modules/vercel/dist/index.js:2:375059)

Do you have any idea if this error is caused by Vercel or by your action?

@jackguoAtJogg
Copy link

I have the same error as well.

@SmileJayden
Copy link

SmileJayden commented Aug 8, 2020

Me too.
From yesterday

Error! An unexpected error occurred in inspect: TypeError: Cannot read property 'split' of undefined
    at /usr/local/lib/node_modules/vercel/dist/index.js:2:650065
    at Array.reduce (<anonymous>)
    at A (/usr/local/lib/node_modules/vercel/dist/index.js:2:650029)
    at inspect_main (/usr/local/lib/node_modules/vercel/dist/index.js:2:655310)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at he (/usr/local/lib/node_modules/vercel/dist/index.js:2:375059)

@jackguoAtJogg
Copy link

I tried to switch to vercel-action but they have the same error as well.
I hope this can be fixed soon.

amondnet/vercel-action#28

@lukasholzer
Copy link

We encounter the same error regardless of with the vercel or old now action.
Hope this can get fixed soon!

@EvanLovely
Copy link

Yep, we're having the same problem using the vercel-action GitHub Action: amondnet/vercel-action#27 I've got a string of troubleshooting notes going on over there if anyone is interested.

@scriptex
Copy link
Author

It looks like the action runs and completes properly since yesterday. Maybe Vercel updated/fixed something on their side?
Anyone still experiencing issues?
I will give it one more day and then I will close this issue.

@jackguoAtJogg
Copy link

Yep, looks like is working now.

@amondnet
Copy link
Owner

@scriptex
Copy link
Author

Looks like it's fixed. Closing the issue 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants