Please provide us with the following information:
Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 7
Please run
ng --version. If there's nothing outputted, please run in a Terminal:node --versionand paste the result here:
v7.5.0
Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
No changes
Normally this include a stack trace and some more information.
I created the project using angular cli beta 28.3. I am able to build the application and host it on IIS. But when I want to do this automatically using TeamCity, I am facing issues.
Steps that I followed:
Are there any other steps that need to be followed?
Thanks! We'll be in touch soon.
I'm sorry but this doesn't sound like a CLI issue, it's more of a general support one.
I don't know anything about TeamCity so I can't help you. Stack Overflow is your best bet to get an answer.
In this case the proper way to do this is make sure your packages.json has a script for "build" pointing at ng build. Then you can call this step from npm using npm run-script build, which will in turn trigger ng build from within the correct environment to resolve ng.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
In this case the proper way to do this is make sure your packages.json has a script for "build" pointing at
ng build. Then you can call this step from npm usingnpm run-script build, which will in turn triggerng buildfrom within the correct environment to resolveng.See also, http://stackoverflow.com/a/43444190/3794873