0

jss start:connected command is also not working,

I used following comands jss setup jss deploy config jss deploy app -c -d

{
  "sitecore": {
    "instancePath": "C:\\inetpub\\wwwroot\\adac11sc.dev.local",
    "apiKey": "{0CE3552A-3647-405E-9BCF-9A4A86DA90D8}",
    "deploySecret": "ruxi40eig744rht68tz5cvypn2m6pfdc16xy01htuf",
    "deployUrl": "http://sitecore-jss-app.dev.local/sitecore/api/jss/import",
    "layoutServiceHost": "http://sitecore-jss-app.dev.local"
  }
}

enter image description here

1
  • 1
    Replace your screenshots with error text for SEO reasons. Jul 21, 2023 at 2:25

1 Answer 1

0

There might be serveral possibilites and hope the following can helps:

  1. Check your configuration, to ensure your sitecore.apiKey and sitecore.layoutServiceHost config values set correctly and match.
  2. Verify you can get JSON response from accessing the URL like http://[your instance domain]/sitecore/api/layout/render/jss?item=/&sc_apikey={API_KEY}
  3. Ensure your content are all published successfully. And make sure bundle and manifest files have been generated.
  4. Check the JSS app's logs for more details .

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.