Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从 CLI 创建新的 angular2 应用程序后,我收到此错误:“您必须在 angular-cli 项目中才能使用构建命令”。我在项目目录中,我不明白错误的含义。
您需要cd进入该新创建的目录。
cd
cd DIRECTORY_NAME_HERE
然后你可以这样做:
ng build ng serve // etc