无法找到ng-common软件包 [英] Unable to locate package ng-common
问题描述
在Ubuntu 16.04中找不到软件包
ng-common
这是我在Visual Studio Code应用程序上运行ng-serve
时遇到的错误.
this is the error that i get when i am running ng-serve
on my Visual Studio Code application.
场景-
我正在跑步ng serve
然后我得到了错误
I was running ng serve
Then i got the error
当前未安装程序"ng".您可以通过
进行安装 键入:sudo apt install ng-common您将必须启用 称为宇宙"的组件
The program 'ng' is currently not installed. You can install it by
typing: sudo apt install ng-common You will have to enable the component called 'universe'
所以我运行了该命令sudo apt install ng-common
然后我得到了错误
正在读取包列表...完成构建依赖关系树读取状态 信息...完成E:无法找到ng-common软件包
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ng-common
该怎么办?
推荐答案
尝试使用sudo用户安装angular cli全局性
Try installing angular cli globaly with sudo user
sudo npm install -g angular-cli
这篇关于无法找到ng-common软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!