Is a "src" dir required under the top-level ng2 app dir for aot? I'm trying 
to get my app running with AOT per the documentation: 
https://angular.io/guide/aot-compiler

I executed the following aot compile command from MyApp dir, per the 
documentation:

    "node_modules/.bin/ngc" -p ./ng2/tsconfig-aot.json

However, this command is returning the following error:

    Error File 'C:/CODE/MyApp/ng2/src/app/app.module.ts' not found.

So it looks like the command is expecting a "src" dir as the first subdir 
under my main ng2 app dir.  This ng2 app exists within the context of a 
parent .NET MVC app, which has a lot of its own special dirs.  I think the 
default ng2 parent app dir may generally named "src" which is why the error 
above is occurring. Do you know if there's a command option I can pass to 
exclude "src" from the dir path that the compiler is attempting to execute 
against?  Or if there's another workaround for this or if I'm doing 
something incorrectly here?

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to