Skip to content

Conversation

@RobbyRabbitman
Copy link
Contributor

Current Behavior

 NX   Report complete - copy this into the issue template

Node           : 22.21.1
OS             : linux-x64
Native Target  : x86_64-linux
pnpm           : 10.20.0

nx                 : 22.1.2
@nx/js             : 22.1.2
@nx/eslint         : 22.1.2
@nx/workspace      : 22.1.2
@nx/devkit         : 22.1.2
@nx/eslint-plugin  : 22.1.2
@nx/playwright     : 22.1.2
typescript         : 5.9.3
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
@nx/playwright/plugin
@nx/js/typescript
@hdi/web-starter-tools-nx-angular-plugin
---------------------------------------
Community plugins:
@hdi/web-starter-tools-nx-angular-plugin : 0.0.0
angular-eslint                           : 20.6.0
---------------------------------------
Local workspace plugins:
@hdi/web-starter-tools-nx-angular-plugin
---------------------------------------
Cache Usage: 0.00 B / 116.28 GB
---------------------------------------
⚠️ Unable to construct project graph.
Failed to process project graph.
     - e2e/frontend/playwright.config.ts: Error [ERR_REQUIRE_ASYNC_MODULE]: require() cannot be used on an ESM graph with top-level await. Use import() instead. To see where the top-level await comes from, use --experimental-print-required-tla.
    From /azp/_work/1/s/node_modules/.pnpm/@[email protected][email protected]/node_modules/@nx/devkit/src/utils/config-utils.js 
    Requiring /azp/_work/1/s/e2e/frontend/playwright.config.ts 
      at ModuleJobSync.runSync (node:internal/modules/esm/module_job:450:13)
      at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:435:47)
      at loadESMFromCJS (node:internal/modules/cjs/loader:1537:24)
      at Module._compile (node:internal/modules/cjs/loader:1688:5)
      at Object..js (node:internal/modules/cjs/loader:1839:10)
      at Module.load (node:internal/modules/cjs/loader:1441:32)
      at Function._load (node:internal/modules/cjs/loader:1263:12)
      at TracingChannel.traceSync (node:diagnostics_channel:328:14)
      at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
      at Module.require (node:internal/modules/cjs/loader:1463:12)

Expected Behavior

Allow esm with top level awaits.

Related Issue(s)

Fixes #

@RobbyRabbitman RobbyRabbitman requested a review from a team as a code owner November 27, 2025 20:52
@netlify
Copy link

netlify bot commented Nov 27, 2025

👷 Deploy request for nx-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 33d7f50

@vercel
Copy link

vercel bot commented Nov 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Nov 27, 2025 8:57pm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant