webcontainer-core
webcontainer-core copied to clipboard
NX Missing Platform Dependency
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
- open the project
- install dependencies
- start using command yarn nx serve ng-web
Expected behavior
project needs to run successfully without any errors
Parity with Local
- [X] I have run the project in my local machine and I could not reproduce the issue.
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
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.