Thank you for the reply.
Got the issue resolved. The issue was in my local have different project tracks hence one of the track uses the same path. they have overridden it from /libs. and this folder itself was missing in the local.
From dev crx searched for the same path and made package and installed it in local, now view as published is working.