Skip to content

(node:28410) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated. #2151

@tianyingchun

Description

@tianyingchun

Search Terms

node:28410) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
at Object.createResolve (/Users/tianyingchun/Documents/hyperse-internal/hyperse-backend/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:146:25)
at /Users/tianyingchun/Documents/hyperse-internal/hyperse-backend/node_modules/ts-node/src/index.ts:1245:105
at Object.onceFn [as getNodeEsmResolver] (/Users/tianyingchun/Documents/hyperse-internal/hyperse-backend/node_modules/ts-node/src/util.ts:147:13)
at createEsmHooks (/Users/tianyingchun/Documents/hyperse-internal/hyperse-backend/node_modules/ts-node/src/esm.ts:111:51)
at Object.registerAndCreateEsmHooks (/Users/tianyingchun/Documents/hyperse-internal/hyperse-backend/node_modules/ts-node/src/esm.ts:106:10)
at file:///Users/tianyingchun/Documents/hyperse-internal/hyperse-backend/node_modules/ts-node/esm.mjs:7:66
at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:547:26)
at async Hooks.register (node:internal/modules/esm/hooks:152:7)
at async MessagePort.handleMessage (node:internal/modules/esm/worker:199:18)

Specifications

ts-node: 11.0.0-beta.1
node: v22.13.1

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions