JSS is Sitecore's answer to have the ability to offload your website from sitecore and run the website somewhere else. There are several ways to run the site, disconnected, connected and integrated.
Running JSS integrated in Sitecore
During my exploration of JSS I also wanted to deploy my app to Sitecore and check if I could open the Experience Editor and edit the fields. For this I used the command
jss deploy app --includeContent --includeDictionary. After checking the Content Editor I actually had the node I expected:
From there I opened the Expecience Editor but got the following message:
Checking versions: NVM and JSS
So what's going on? I have:
- latest JSS CLI
- latest version of nvm
- latest version of Node
- NodeJS in the path variables
Fixing NVM NodeJS issue in IIS
Our site and also Sitecore is running in IIS (Internet Information Server) which means under a different user context. By default NVM is not installed globally but in
C:\Users\username\AppData\Roaming\nvm. The application pool account is not allowed to execute the NodeJS executable.
Adding everyone to the NVM folder will result in a working Experience Editor