Skip to content

Fix docs server runtime error #2067

@nathanclevenger

Description

@nathanclevenger
Handling gateway domain, exiting middleware { hostname: 'apis.do', pathname: '/content/services', search: '' }
⨯ Error: ENOENT: no such file or directory, open '/vercel/path1/sdks/apis.do/package.json'
    at 93359 (.next/server/app/(apis)/[api]/[action]/route.js:5:732)
    at t (.next/server/webpack-runtime.js:1:205)
    at <unknown> (.next/server/app/(apis)/[api]/[action]/route.js:35:3227)
    at t.a (.next/server/webpack-runtime.js:1:986)
    at 96784 (.next/server/app/(apis)/[api]/[action]/route.js:35:3152)
    at t (.next/server/webpack-runtime.js:1:205)
    at <unknown> (.next/server/app/(apis)/[api]/[action]/route.js:1:2186)
    at t.a (.next/server/webpack-runtime.js:1:986)
    at 52579 (.next/server/app/(apis)/[api]/[action]/route.js:1:2007) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/vercel/path1/sdks/apis.do/package.json',
  page: '/content/services'
}
Error: ENOENT: no such file or directory, open '/vercel/path1/sdks/apis.do/package.json'
    at 93359 (.next/server/app/(apis)/[api]/[action]/route.js:5:732)
    at t (.next/server/webpack-runtime.js:1:205)
    at <unknown> (.next/server/app/(apis)/[api]/[action]/route.js:35:3227)
    at t.a (.next/server/webpack-runtime.js:1:986)
    at 96784 (.next/server/app/(apis)/[api]/[action]/route.js:35:3152)
    at t (.next/server/webpack-runtime.js:1:205)
    at <unknown> (.next/server/app/(apis)/[api]/[action]/route.js:1:2186)
    at t.a (.next/server/webpack-runtime.js:1:986)
    at 52579 (.next/server/app/(apis)/[api]/[action]/route.js:1:2007) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/vercel/path1/sdks/apis.do/package.json',
  page: '/content/services'
}
Failed to prepare server TypeError: o.HttpInstrumentation is not a constructor
    at <unknown> (.next/server/instrumentation.js:24:15250)
    at Object.assign.id (.next/server/instrumentation.js:8:49300)
    at Object.setupOnce (.next/server/instrumentation.js:24:15583)
    at s (.next/server/instrumentation.js:13:117674)
    at <unknown> (.next/server/instrumentation.js:13:118856)
    at Array.forEach (<anonymous>)
    at t.setupIntegrations (.next/server/instrumentation.js:13:118841)
    at c._setupIntegrations (.next/server/instrumentation.js:8:93941)
    at c.init (.next/server/instrumentation.js:8:92198)
    at N (.next/server/instrumentation.js:13:21632)
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions