0

I have 2 jss apps deployed to azure. Both are built on node 12.15.0 and I have WEBSITE_NODE_DEFAULT_VERSION as 12.15.0 in azure app settings but Only one of the apps is getting loaded at a time. For the other I am getting attached error. I have tried to change node version but it didn’t. Any suggestions ?

Node error

2
  • Are you trying to load both apps in the same instance?
    – Richard Seal
    Aug 4, 2020 at 19:12
  • Yes Richard, we have 2 jss apps which uses the same Sitecore instance and same azure app service. Once I restart the app and load 1 site, that site continues to work but the other one doesn’t.
    – Rashmi936
    Aug 5, 2020 at 23:10

1 Answer 1

1

I made below change and the issue was fixed,

Changed LaunchWithDebugging from true to false in Sitecore.JavaScriptServices.ViewEngine.Node.config

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.