On JSS deploy getting error:TypeError: Cannot read property 'forEach' of undefined In the Sitecore log, the error mentioned is: "Import requested wipe import on 'jsssitename' but wipe imports are disabled on the SXA JSS sites".
Environment: Sitecore 9.3 and JSS (Sitecore JavaScript Services Server for Sitecore 9.3 XP 13.0.0 rev. 190924.zip).
I have created a new JSS react app and trying to deploy it in the SXA site under the JSS tenant, layout service is working fine and returning valid JSON. The sitecore site and JSS site are on HTTPS and have assigned proper SSL cert. In Sitecore, JSSImport user has given rights to jss site:
To deploy app to sitecore, giving command : jss deploy app -c -d --acceptCertificate
It gives below error:
In the Sitecore log file, it entered below details:
Please let me know what:
am I missing something and do share if have any doc which has step-by-step details to configure and deploy SXA/JSS site.
For sxa site in .config, should we change rootPath="/sitecore/content/" to rootPath="/sitecore/content//" or is it not needed?