2

After I input the command with the certificate

jss deploy app --includeContent --includeDictionary --acceptCertificate ww:ww:11:....

Following error shows up.I'm using Sitecore 9.0.2 and doing the deploy of a react app. I already installed jss package on the Sitecore instance. My Sitecore instance is located locally.

I followed every steps from the Sitecore documentation here.

The error that shows me

8
  • can you give more info about log errors and browser console errors ? Commented May 26, 2020 at 21:28
  • this is the console: imgur.com/a/Sn1zdbQ Commented May 27, 2020 at 7:24
  • plz chek whether your Layout Service is working correctly, in your case it will be sxa_app.dev.local/sitecore/api/layout/render/jss?item=/&sc_apikey={YOUR_API_KEY_ID} This question is possible duplicate of sitecore.stackexchange.com/questions/20708/… Commented May 27, 2020 at 20:42
  • the layout service is working correctly because it returns the correct json when i type the link you provided. After seeing the other question you suggested i tried the solution of the answer but it seems all correct (we have the jss license installed). Is it possible that i might have to install an import service or something like that? Commented May 28, 2020 at 9:47
  • Do you have Sitecore Commerce installed on that particular instance? Commented May 28, 2020 at 18:27

1 Answer 1

1

It seems that Sitecore Commerce is not yet compatible with Sitecore JSS as shown from the comparison tables.

From Sitecore JSS Site

URL: JSS Release Note

Currently as I am answering, the version is Sitecore JSS 13.0 for Sitecore 9.3

enter image description here

From Sitecore Experience Commerce

URL: Sitecore Experience Commerce compatibility

As we talk, there are no mention of the compatibility between Commerce and JSS in the Sitecore XP and Modules Compatibility Section.

However, you can use Sitecore Commerce but requires custom development. More information is available at the Sitecore JSS Help page.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.