Skip to content

The Nx Daemon is unsupported in WebAssembly environments #27263

Open

Description

Current Behavior

Starting from this morning any nx commands display the following message on my monorepo, then get stuck for while and fails with the following error

The Nx Daemon is unsupported in WebAssembly environments. Some things may be slower than or not function as expected
memory allocation of 1073741824 bytes failed
wasm://wasm/00b1b546:1


RuntimeError: unreachable
    at wasm://wasm/00b1b546:wasm-function[3313]:0x245577
    at wasm://wasm/00b1b546:wasm-function[3235]:0x24532e
    at wasm://wasm/00b1b546:wasm-function[3249]:0x2453a4
    at wasm://wasm/00b1b546:wasm-function[3123]:0x244de2
    at wasm://wasm/00b1b546:wasm-function[3135]:0x244e7f
    at wasm://wasm/00b1b546:wasm-function[3134]:0x244e74
    at wasm://wasm/00b1b546:wasm-function[3131]:0x244e4f
    at wasm://wasm/00b1b546:wasm-function[2919]:0x243a70
    at wasm://wasm/00b1b546:wasm-function[1894]:0x224274
    at wasm://wasm/00b1b546:wasm-function[1221]:0x1f2606

I also try to run npx create-nx-workspace to test a fresh install and got the same result. Node dependencies are properly installed but the subsequent nx commands fails.

The Nx Daemon is unsupported in WebAssembly environments message comes from the daemon client and it seems that IS_WASM here detects a wasm32 arch for some reason

I guess this issue might be specific to my local setup and I am not sure what have changed since I last run an nx commands (maybe a few days ago).

Let me know if I can provide any additional information.
Thanks for the help

Expected Behavior

nx commands to run successfully

GitHub Repo

No response

Steps to Reproduce

  1. run npx create-nx-workspace

Nx Report

Running `npx nx report` yield the same issue

Failure Logs

No response

Package Manager Version

npm:10.2.4

Operating System

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

Additional Information

System Version: macOS 14.5 (23F79)
Kernel Version: Darwin 23.5.0
Node version 20.11.1

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

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions