We have created touch ui components and templates in AEM 6.3. All the touch ui components and template works smoothly in local AEM instance. So we move these components and templates in QA environment, create a page with template but when we open a page in touch ui mode, it is blank. Page does not have any parsys, does not have side rail bar. Same page works in CLASSIC UI. Here is error log.
org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
org.apache.sling.scripting.sightly.SightlyException: Cannot find a file corresponding to class com.adobe.cq.editor.model.StyleSelector in the repository.
Could you please check if your bundles are in active state?
All the bundles are in active state.
Are both same aem version instance? are you using static or editable templates?
Both AEM versions are same i.e. AEM 6.3 SP1 and using static templates.
For AEM 6.3 - you are using static templates. Sounds like something is wrong with the static template. See if you can get the AEM 6.3 Toy Store (which uses static templates) working:
If the same code works fine in local but not in another environment, then its most likely environment configurations. Check the library versions are same, core components, ACS commons/tools versions, as applicable.
Check that your "service user" has appropriate permissions and compare the lib. versions in local vs QA env.