Hi Jon,
ansible mesh -u user -k -m win_shell -a "ng build 
chdir=C:\\Temp\\angularjs_example\\angular2\\heroes_new"
SSH password: 
mesh | FAILED | rc=267 >>
The directory name is invalid

But strangely, this does work
 ansible mesh -u user-k -m win_shell -a "dir chdir=C:\\Temp"
SSH password: 
mesh | SUCCESS | rc=0 >>

    Directory: C:\Temp

Mode                LastWriteTime         Length 
Name                          
----                -------------         ------ 
----                                      
d-----       16/02/2017     10:34                angularjs_example 

So then tried
ansible mesh -u user -k -m win_shell -a "ng build 
chdir=C:\\Temp\\\\angularjs_example\\\\angular2\\\\heroes_new"
SSH password: 
mesh | FAILED | rc=1 >>
Hash: 7fac7ff8ebe8aa19c58e
Time: 14561ms
chunk    {0} main.bundle.js, main.bundle.map (main) 50 kB {2} [initial] 
[rendered]
chunk    {1} styles.bundle.js, styles.bundle.map (styles) 11.7 kB {3} 
[initial] [rendered]
chunk    {2} vendor.bundle.js, vendor.bundle.map (vendor) 2.37 MB [initial] 
[rendered]
chunk    {3} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] 
[rendered]
ERROR in compiler_1.StaticSymbolCache is not a constructor

And that does work. The error is a current problem in angular 2 ....

Many thanks for your help.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a884dce5-9d5b-4e29-bcb7-59a1aefb6bd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to