Skip to content

can't run nestjs project if it's using esm #33993

@robertIsaac

Description

@robertIsaac

Current Behavior

it fails to build/serve

Expected Behavior

it works just fine

GitHub Repo

https://github.com/robertIsaac/nx-nest-esm

Steps to Reproduce

  1. clone the project and try to run it

Nx Report

Node           : 22.17.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.9.2

nx                 : 22.3.3
@nx/js             : 22.3.3
@nx/eslint         : 22.3.3
@nx/workspace      : 22.3.3
@nx/jest           : 22.3.3
@nx/devkit         : 22.3.3
@nx/eslint-plugin  : 22.3.3
@nx/nest           : 22.3.3
@nx/node           : 22.3.3
@nx/web            : 22.3.3
@nx/webpack        : 22.3.3
@nx/docker         : 22.3.3
typescript         : 5.9.3
---------------------------------------
Registered Plugins:
@nx/webpack/plugin
@nx/eslint/plugin
@nx/jest/plugin
---------------------------------------
Cache Usage: 0.00 B / 46.04 GB

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

this was already addressed in #31965
but it still doesn't work for me

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions