Skip to content

Instantly share code, notes, and snippets.

@huang47
Created December 12, 2021 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huang47/0dc482dcea49463c8754f3e2290bacf6 to your computer and use it in GitHub Desktop.
Save huang47/0dc482dcea49463c8754f3e2290bacf6 to your computer and use it in GitHub Desktop.
{
"deploymentId": "dpl_3ZjAWhnMpkBpNF6tXrg76r7WLVna",
"host": "entrance-web-jdo57zxfr-funwoo.vercel.app",
"id": "1639307385296516829816336202",
"message": "START RequestId: 63c50584-1fcb-4d3c-9cf0-fdc31a9dce75 Version: $LATEST\n2021-12-12T11:09:45.621Z\t63c50584-1fcb-4d3c-9cf0-fdc31a9dce75\tERROR\tError: Cannot find module '/var/task/node_modules/next/dist/server/next.js'. Please verify that the package.json has a valid \"main\" entry\n at tryPackage (internal/modules/cjs/loader.js:321:19)\n at Function.Module._findPath (internal/modules/cjs/loader.js:534:18)\n at Function.Module._resolveFilename (internal/modules/cjs/loader.js:888:27)\n at Function.Module._load (internal/modules/cjs/loader.js:746:27)\n at Module.require (internal/modules/cjs/loader.js:974:19)\n at require (internal/modules/cjs/helpers.js:93:18)\n at Object.<anonymous> (/var/task/node_modules/@sentry/nextjs/dist/utils/instrumentServer.js:7:14)\n at Module._compile (internal/modules/cjs/loader.js:1085:14)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)\n at Module.load (internal/modules/cjs/loader.js:950:32) {\n code: 'MODULE_NOT_FOUND',\n path: '/var/task/node_modules/next/package.json',\n requestPath: 'next'\n}\nEND RequestId: 63c50584-1fcb-4d3c-9cf0-fdc31a9dce75\nREPORT RequestId: 63c50584-1fcb-4d3c-9cf0-fdc31a9dce75\tDuration: 270.72 ms\tBilled Duration: 271 ms\tMemory Size: 1024 MB\tMax Memory Used: 37 MB\t\nRequestId: 63c50584-1fcb-4d3c-9cf0-fdc31a9dce75 Error: Runtime exited with error: exit status 1\nRuntime.ExitError\n",
"parsedLambdaMessage": {
"lines": [
{
"level": "error",
"message": "Error: Cannot find module '/var/task/node_modules/next/dist/server/next.js'. Please verify that the package.json has a valid \"main\" entry at tryPackage (internal/modules/cjs/loader.js:321:19) at Function.Module._findPath (internal/modules/cjs/loader.js:534:18) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:888:27) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:93:18) at Object.<anonymous> (/var/task/node_modules/@sentry/nextjs/dist/utils/instrumentServer.js:7:14) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) {\n code: 'MODULE_NOT_FOUND',\n path: '/var/task/node_modules/next/package.json',\n requestPath: 'next'\n}",
"timestamp": "2021-12-12T11:09:45.621Z"
}
],
"parse_status": "full",
"report": {
"billed_duration_ms": 271,
"duration_ms": 271,
"max_memory_used_mb": 37,
"memory_size_mb": 1024
},
"request_id": "63c50584-1fcb-4d3c-9cf0-fdc31a9dce75"
},
"path": "api/auth/[...nextauth]",
"projectId": "prj_rH8Ben6oD8qx4gOkSnHAgYp5lRDi",
"proxy": {
"clientIp": "24.18.19.9",
"host": "staging.funwoo.com.tw",
"method": "GET",
"path": "/api/auth/session",
"referer": "https://staging.funwoo.com.tw/auth/signin",
"region": "pdx1",
"scheme": "https",
"statusCode": 500,
"timestamp": 1639307385294,
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36"
},
"requestId": "tv4xc-1639307385294-9db9b2ec6429",
"source": "lambda",
"statusCode": -1,
"timestamp": 1639307385296
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment