I'm trying to install JSS on a VM. When I run the install code, I get the following warnings:
PS C:\dev> npm install -g @sitecore-jss/sitecore-jss-cli
C:\Users\sitecore\AppData\Roaming\npm\jss -> C:\Users\sitecore\AppData\Roaming\npm\node_modules\@sitecore-jss\sitecore-jss-cli\dist\bin\jss.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\@sitecore-jss\sitecore-jss-cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ @sitecore-jss/[email protected]
updated 1 package in 8.154s`
Afterwards, when I try to test the installation, I get the following error:
PS C:\dev> jss --help
jss : The term 'jss' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ jss --help
+ ~~~
+ CategoryInfo : ObjectNotFound: (jss:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I can see that the files have installed at the location listed, but my machine never recognizes JSS commands. I tried installing locally in the dev folder as well, but I get the same error.