webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

NX Missing Platform Dependency

Open syamsmenon98 opened this issue 10 months ago • 1 comments

Describe the bug

NX Missing Platform Dependency

The Nx CLI could not find or load the native binary for your supported platform (linux-x64). This likely means that optional dependencies were not installed correctly, or your system is missing some system dependencies. For more information please see https://nx.dev/recipes/troubleshooting/troubleshoot-nx-install-issues

Link to the blitz that caused the error

https://stackblitz.com/~/github.com/syamsmenon98/tech-talent-starter-kit-main

Steps to reproduce

  1. open the project
  2. install dependencies
  3. start using command yarn nx serve ng-web

Expected behavior

project needs to run successfully without any errors

Parity with Local

Screenshots

No response

Platform

Version = 1.84.0
Hash = 0d234e17b40e89fb2cef4be274e073164db66ecc
WebContainer = 7dbe22a9

Browser name  = Chrome
Full version  = 122.0.0.0
Major version = 122
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 101765118,
  "usedJSHeapSize": 95739734,
  "jsHeapSizeLimit": 2172649472
}

Additional context

No response

syamsmenon98 avatar Apr 08 '24 05:04 syamsmenon98

Hey! Thanks for the report. Nx currently doesn't work in WebContainer because of their native dependencies but the Nx team together with @brooooooklyn are working on adding Wasm support. You can track it here.

d3lm avatar Apr 08 '24 13:04 d3lm