Skip to content

Deploying to Vercel reported an error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type number (2614) #254

@lokami

Description

@lokami

This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
▲ Next.js 14.1.4

  • Experiments (use at your own risk):
    · serverMinification
    Creating an optimized production build ...
    Browserslist: caniuse-lite is outdated. Please run:
    npx update-browserslist-db@latest
    Why you should do it regularly: https://github.com/browserslist/update-db#readme
    Browserslist: caniuse-lite is outdated. Please run:
    npx update-browserslist-db@latest
    Why you should do it regularly: https://github.com/browserslist/update-db#readme
    ✓ Compiled successfully
    Linting and checking validity of types ...
    Collecting page data ...
    TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type number (2614)
    at Object.dirname (node:path:1371:5)
    at 32065 (/vercel/path0/.next/server/chunks/489.js:68287:37)
    at webpack_require (/vercel/path0/.next/server/webpack-runtime.js:25:43)
    at 37305 (/vercel/path0/.next/server/chunks/489.js:72740:27)
    at webpack_require (/vercel/path0/.next/server/webpack-runtime.js:25:43)
    at 29475 (/vercel/path0/.next/server/chunks/489.js:60650:20)
    at webpack_require (/vercel/path0/.next/server/webpack-runtime.js:25:43)
    at 3458 (/vercel/path0/.next/server/chunks/489.js:55826:23)
    at webpack_require (/vercel/path0/.next/server/webpack-runtime.js:25:43)
    at 64873 (/vercel/path0/.next/server/chunks/489.js:32559:21) {

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