- I have installed the plain
Sitecore 10.3 XP
in my local. - Installed the
Sitecore headless rendering 21.0.1 package
from this URL https://dev.sitecore.net/Downloads/Sitecore_Headless_Rendering/21x/Sitecore_Headless_Rendering_2101.aspx - Created the API key and verified the service
https://sc103-sc/sitecore/api/layout/render/jss?item=/&sc_apikey={03E4BE22-4625-4612-98B4-C735C5131B23}
it's worked. - Followed the steps to setup the first JSS application in my local and after I tried to deploy the application to Sitecore path with the command
jss deploy app -- includeContent --includeDictionary
It got failed and received the error in the command prompt as below :
received the error in log file as below
Exception: System.Web.HttpException
Message: A public action method 'Import' was not found on controller 'Sitecore.JavaScriptServices.AppServices.ImportService.Controllers.JssImportHostController'.
Source: System.Web.Mvc
When I access the import URL in browser, receive the error as below
From this thread Unexpected response from import service: Status message: Found, I found the below :
Make sure you have installed the JSS Server Components Sitecore package through installation wizard as per your Sitecore instance version from following link. https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services.aspx
Do I need to add the package "Sitecore JavaScript Services 15.0.1" also? from https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/150/Sitecore_JavaScript_Services_1501.aspx or installing the package "Sitecore headless rendering 21.0.1" is enough ?
I tried to install the Sitecore JavaScript Services 15.0.1 on top of it. Installation got failed, earlier, I have been asked to overwrite few config files related to JSS. Finally my Sitecore instance got broken and throwing the following error now.
Can anyone help me for the JSS application development and deployment do i need both (Sitecore Headless Rendering 21.0.1 and Sitecore JavaScript Services 15.0.1) the package installed in my vanilla Sitecore version ?
What could be the reason for failing with Import Service?