Trying to build client-side app by following this video: https://www.youtube.com/watch?v=bSssb9AmiJU&feature=youtu.be&t=25m25s
All is clear, except where ngc
command comes from? it's not part of the package.json
scripts that's shown in the video and it's not being added once you install @angular/platform-server
package. As it's said in the video, ngc
is the internal compiler of Angular2 which will pre-compile all typescript that's built by SystemJS-Builder afterward.
I think that has yet to be shipped. It's working in internal experimental builds they use for ng-conf but it's IMHO not yet working in RC.1
See https://docs.google.com/document/d/150lerb1LmNLuau_a_EznPV1I1UHMTbEl61t4hZ7ZpS0/edit# from "May 23"