Angular常见问题 - zLulus/My_Note GitHub Wiki
You have to be inside an angular-cli project in order to use the build command.
保证package.json存在
npm install -g @angular/cli@latest
@angular\cli\models\config\config.js:89 throw new InvalidConfigError
保证.angular-cli.json文件有正确的json格式,包括注释都不能有:
//"index": "myindexfile.html",