Search code examples
ibm-mobilefirstmobilefirst-adaptersmobilefirst-server

Adapter deployment failure with "main javascript file is missing"


I have built a TestAdapter.adapter file. When I deploy it on local environment it works properly, but when I try deploying it on production server I get the following error:

The 'TestAdapter-impl.js' main javascript file is missing.

How can I fix this error?


Solution

  • Apparently the deployment team ran the .adapter files through an aggressive anti-virus software which has removed the Javascript content from the adapter files as a security precaution, disabling the anti-virus software fixed the problem.