我是 NX 的新手,甚至是 NodeJS 生态系统的新手。当我发现有趣的工具来支持全栈应用程序开发时,NX 在哪里,然后我尝试了一下。但我在创建nx-workspace的第一步总是失败。不对,我在 Windows Pro 64 位上使用 Node 版本 14.16 LTS 和 npm 版本 6.14.11。这是错误:
C:\Projects>npx create-nx-workspace --preset=angular
? Workspace name (e.g., org name) hw
? Application name shop
? Default stylesheet format CSS
? Default linter ESLint [ Modern linting tool ]
? Use Nx Cloud? (It's free and doesn't require registration.) No
> NX Nx is creating your workspace.
To make sure the command works reliably in all environments, and that the preset is applied …Run Code Online (Sandbox Code Playgroud)