“nx”未被识别为 cmdlet 的名称

莫森

我正在尝试将一个新的 util 库添加到我的 Nx mono 存储库中。我用谷歌搜索并找到了以下命令www.nx.dev

nx generate @nrwl/nest:library util/util-myLibName

当我运行上述命令时,我收到以下消息:

术语“nx”不被识别为 cmdlet、函数、脚本文件或可运行程序的名称。检查名称的拼写,或者如果包含路径,请验证路径是否正确,然后重试。

我在网上搜索了很多,但找不到解决方案。

菲利普·安图尼斯

这是因为 nx 没有安装在你的 so

先试试

npm install -g @nrwl/cli

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

常量未被识别为cmdlet的名称

术语“”未被识别为cmdlet的名称

术语“conda”未被识别为 cmdlet 的名称

Python 未被识别为 cmdlet 的名称

术语“ Set-AzureKeyVaultKeyAttributes”未被识别为cmdlet的名称,

术语“安装模块”未被识别为cmdlet的名称

Gulp-术语“ gulp”未被识别为cmdlet的名称

术语“ get-splogevent”未被识别为cmdlet的名称

术语“remove-distributiongroupmember”未被识别为 cmdlet 的名称

术语“Win32_computerSystem”未被识别为 cmdlet 的名称

为什么 System.AccessToken 未被识别为 Azure DevOps 发布中的 cmdlet 名称?

New-ScheduledTaskAction:术语“ New-ScheduledTaskAction”未被识别为cmdlet的名称

Install-Module:术语“ Install-Module”未被识别为cmdlet的名称

Get-AzureRmResourceGroup:术语“ Get-AzureRmResourceGroup”未被识别为cmdlet的名称

ng:术语“ ng”未被识别为cmdlet的名称,功能Visual Studio Code Terminal

通过 c# 执行 powershell 脚本会抛出“<comment> 未被识别为 cmdlet 的名称”异常

React serve -s build,术语“ serve”未被识别为cmdlet的名称

wslpath :命令 vscode 中的术语“wslpath”未被识别为 cmdlet 的名称

Login-AzureRmAccount:术语“ Login-AzureRmAccount”未被识别为cmdlet,函数,脚本的名称

Python uvicorn:术语“ uvicorn”未被识别为cmdlet,函数,脚本文件的名称

术语“ az”未被识别为cmdlet,函数,脚本文件或可运行程序的名称

Azure自动化Powersell Runbook失败:“ Invoke-Sqlcmd”未被识别为cmdlet的名称

python3:术语“ python3”未被识别为cmdlet的名称

dotnet无法识别为cmdlet的名称

无法将ItemPropertyValue识别为cmdlet的名称

术语“New-AzureRmServiceBusNamespace”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称

术语 'OC_EDITOR="subl" 未被识别为 cmdlet、函数、脚本文件或可运行程序的名称

'[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;\UpdateView.exe' 未被识别为 cmdlet 的名称

go:术语“ go”未被识别为cmdlet,函数,脚本文件或可运行程序的名称