2

Error while jss start:connected in sitecore jss next js sample app

enter image description here

2 Answers 2

1

I think you should give it a try to debug your JSS application, you can use the debug logging utilities provided by JSS. It Will help you to get more details about errors.

To resolve the error give it a try.

  1. Verify that the GraphQL endpoint is correct in package.json and the Sitecore app definition. Try opening the GraphiQL interface in a browser, using values from your config (<sitecore hostname + graphQL endpoint>/ui?sc_apikey=<api key>) to make sure the endpoint is working.

Check out other Troubleshooting JSS Next.js steps here.

Hope it helps!

0
0

adding values to parameters in .env, scjssconfig.json and ~sc102sc.dev.local\App_Config\Sitecore\JavaScriptServices has resolved this.

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.