Skip to content

No type information received with Node 25.x #698

Description

@jacoscaz

I am unable to run any of the projects that depend on @deepkit/type with the 25.x branch of Node.js. The error is always:

NoTypeReceived [Error]: No type information received. Circular import or no runtime type available.
    at resolveReceiveType (file:///app/node_modules/@deepkit/type/dist/esm/src/reflection/reflection.js:31:15)
    at cast (file:///app/node_modules/@deepkit/type/dist/esm/src/serializer-facade.js:30:37)

The problem is actually a build problem (I think): TypeScript compilation seems to run fine but when I look at compiled files it's as if @deepkit/type-compiler was never installed. Switching to Node.js 24.x and reinstalling dependencies instantly fixes the issue with no other change required. TypeScript version is always the same.

Building on Node.js 24.x while running on Node.js 25.x works.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions