‘Program ng failed to run.: No application is associated with the specified file for this operationAt line:1 char:1’ can be resolve in an eassy way. Mostly this error appears when trying to add packages, creating new components, services, modules or simply making use of ng <action name>.