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 ?
-
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.– Rashmi936Aug 5, 2020 at 23:10
1 Answer
I made below change and the issue was fixed,
Changed LaunchWithDebugging from true to false in Sitecore.JavaScriptServices.ViewEngine.Node.config