-
Notifications
You must be signed in to change notification settings - Fork 76
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
I deployed my Nuxt Js app on Vercel and I get this error "This Serverless Function has crashed." #680
Comments
@udemezue01 you can go to your build inside Vercel and click on Functions to see what error it's throwing. |
@Tragio Tragio This is what the functions tab logs `` [GET] / [GET] / [GET] / [GET] / |
It seems related to your |
I dont even know, I am confused |
Experiencing this issue rn as well, difference is this is new. No code has been pushed but suddenly Vercel decided my serverless function (which I never explicitly configured) was going to crash today.
|
How did you solve it
…On Thu, 14 Jul 2022, 9:49 pm Josh Corbett, ***@***.***> wrote:
Experiencing this issue rn as well, difference is this is new. No code has
been pushed but suddenly Vercel decided my serverless function (which I
never explicitly configured) was going to crash today.
Nuxt CLI v3.0.0-rc.4 14:47:49
RootDir: /Users/josh/Repositories/fnf-next 14:47:50
Nuxt project info: 14:47:50
------------------------------
- Operating System: `Darwin`
- Node Version: `v17.5.0`
- Nuxt Version: `3.0.0-rc.4`
- Package Manager: ***@***.***`
- Builder: `vite`
- User Config: `ssr`, `meta`, `css`, `components`, `runtimeConfig`, `buildModules`, `modules`, `schemaOrg`, `plausible`, `prismic`, `vite`, `build`
- Runtime Modules: ***@***.******@***.***`, ***@***.******@***.***`, ***@***.***`, ***@***.***`
- Build Modules: ***@***.******@***.***`, ***@***.******@***.***`
------------------------------
[GET] /
14:48:57:37
2022-07-14T20:48:59.198Z 085f9597-da7b-4ffb-bd54-c4cf91a97fae ERROR Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"[object Object]","reason":{"__v_isShallow":false,"__v_isRef":true,"_rawValue":null,"_value":null},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: [object Object]"," at process.<anonymous> (file:///var/runtime/index.mjs:775:15)"," at process.emit (node:events:539:35)"," at emit (node:internal/process/promises:140:20)"," at processPromiseRejections (node:internal/process/promises:274:27)"," at processTicksAndRejections (node:internal/process/task_queues:97:32)"]}
Unknown application error occurred
[GET] /
14:48:56:98
2022-07-14T20:48:58.731Z b108ce0d-fbec-4b85-8d06-e0a7058f46a8 ERROR Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"[object Object]","reason":{"__v_isShallow":false,"__v_isRef":true,"_rawValue":null,"_value":null},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: [object Object]"," at process.<anonymous> (file:///var/runtime/index.mjs:775:15)"," at process.emit (node:events:539:35)"," at emit (node:internal/process/promises:140:20)"," at processPromiseRejections (node:internal/process/promises:274:27)"," at processTicksAndRejections (node:internal/process/task_queues:97:32)"]}
Unknown application error occurred
—
Reply to this email directly, view it on GitHub
<#680 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD2KU4NDHTBFUGSNXF3AYYTVUB4OBANCNFSM5ZCG6P5A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I didn't. Still awaiting Vercel's pro support to see if they can do anything about it on their end. |
Hey guys! |
No, not yet.
…On Sat, Sep 3, 2022 at 5:38 PM Zumrad ***@***.***> wrote:
Hey guys!
Have you found any solutions for this?
—
Reply to this email directly, view it on GitHub
<#680 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD2KU4J4Q2EY4MAK2LJHHQTV4N5INANCNFSM5ZCG6P5A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
<https://about.me/thejohnbenjamin?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
Nwabufor John
Web Developer, Blogger, Digital Marketing Expert and Serial Entrepreneur.
Visit the Link Below.
*Tchelete.com <http://Tchelete.com> (Blog)*
Make sure to also visit the links below. 🖐🏼
👉👉 How To Start a Blog. <http://Tchelete.com/how-to-start-a-blog>
|
Instead I now use Cloudflare Pages
On Sat, Sep 3, 2022 at 6:20 PM John Nwabufor Udemezue ***@***.***>
wrote:
… No, not yet.
On Sat, Sep 3, 2022 at 5:38 PM Zumrad ***@***.***> wrote:
> Hey guys!
> Have you found any solutions for this?
>
> —
> Reply to this email directly, view it on GitHub
> <#680 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AD2KU4J4Q2EY4MAK2LJHHQTV4N5INANCNFSM5ZCG6P5A>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
<https://about.me/thejohnbenjamin?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
Nwabufor John
Web Developer, Blogger, Digital Marketing Expert and Serial Entrepreneur.
Visit the Link Below.
*Tchelete.com <http://Tchelete.com> (Blog)*
Make sure to also visit the links below. 🖐🏼
👉👉 How To Start a Blog. <http://Tchelete.com/how-to-start-a-blog>
--
<https://about.me/thejohnbenjamin?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
Nwabufor John
Web Developer, Blogger, Digital Marketing Expert and Serial Entrepreneur.
Visit the Link Below.
*Tchelete.com <http://Tchelete.com> (Blog)*
Make sure to also visit the links below. 🖐🏼
👉👉 How To Start a Blog. <http://Tchelete.com/how-to-start-a-blog>
|
Actually, I just did by "yarn add esm". |
@thezumrad Hi, can you please elaborate in more details how did you make it work? {
"errorType": "Runtime.UnhandledPromiseRejection",
"errorMessage": "Error: socket hang up",
"reason": {
"message": "socket hang up",
"name": "Error",
"stack": "Error: socket hang up\n at connResetException (node:internal/errors:692:14)\n at TLSSocket.socketOnEnd (node:_http_client:478:23)\n at TLSSocket.emit (node:events:539:35)\n at endReadableNT (node:internal/streams/readable:1345:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)",
"config": {
"url": "nuxt",
"method": "get",
"headers": {
"Accept": "application/json, text/plain, */*",
"x-real-ip": "109.43.49.1",
"x-vercel-proxied-for": "109.43.49.1",
"sec-fetch-site": "same-origin",
"sec-fetch-dest": "empty",
"cache-control": "no-cache",
"referer": "https://erawadee.ru/sw.js",
"x-vercel-ip-latitude": "48.1663",
"x-vercel-forwarded-for": "109.43.49.1",
"forwarded": "for=109.43.49.1;host=erawadee.ru;proto=https;sig=0QmVhcmVyIDU4OWYzMzVkMTk4N2E1OGQ4MmViMmQwZDBjZDM2MTJmN2FhNmUxZjY5OTQzYWI0YWU0YjBlNTMxOGZlYzdkOTM=;exp=1665665720",
"x-vercel-deployment-url": "newru-o8ko1xz79-lucky-giga.vercel.app",
"x-forwarded-for": "109.43.49.1",
"x-vercel-id": "fra1::hmpqt-1665665420833-5817a38f98fa",
"pragma": "no-cache",
"x-vercel-ip-longitude": "11.5683",
"x-vercel-proxy-signature": "Bearer 589f335d1987a58d82eb2d0d0cd3612f7aa6e1f69943ab4ae4b0e5318fec7d93",
"accept-encoding": "gzip, deflate",
"x-vercel-ip-country": "DE",
"sec-fetch-mode": "cors",
"accept-language": "de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7",
"user-agent": "Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-A515F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/18.0 Chrome/99.0.4844.88 Mobile Safari/537.36",
"cookie": "session_id=di4Wb9ySTvAEn4FIXS6U_MjIxMDEz; auth.strategy=local; i18n_redirected=ru; session_id=5Dn6suuYCJAfmmXyk91w_MjIxMDEz",
"x-vercel-proxy-signature-ts": "1665665720",
"x-vercel-ip-timezone": "Europe/Berlin",
"x-vercel-ip-country-region": "BY",
"connection": "close",
"qtoken": "di4Wb9ySTvAEn4FIXS6U_MjIxMDEz"
},
"params": {
"dt": "index",
"locale": "ru",
"ip": null
},
"baseURL": "https://api.erawadee.com/api/",
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
}
},
"code": "ECONNRESET"
},
"promise": {},
"stack": [
"Runtime.UnhandledPromiseRejection: Error: socket hang up",
" at process.<anonymous> (file:///var/runtime/index.mjs:1131:17)",
" at process.emit (node:events:539:35)",
" at processEmit [as emit] (/var/task/node_modules/signal-exit/index.js:199:34)",
" at emit (node:internal/process/promises:140:20)",
" at processPromiseRejections (node:internal/process/promises:274:27)",
" at processTicksAndRejections (node:internal/process/task_queues:97:32)"
]
} |
the same issue happened with me in my node express project :( what to do? |
Hi @mickeymaruf |
I deployed my Nuxt Js app on Vercel and I get this error "This Serverless Function has crashed."
The text was updated successfully, but these errors were encountered: