New to JSS. Trying to use Sitecore Forms + JSS for the first time, I followed JSS documentation, creating a form in Sitecore; when I run jss deploy component Form --allowedplaceholders jss-main
, I get error:
Manifest has been generated and written to C:\...\AppData\Local\Temp\tmp-52900G0A3kyGFGNy1\manifest\tempManifest.json/sitecore-import.json
JSS is manifest packaging tapp to C:\...\AppData\Local\Temp\tmp-52900G0A3kyGFGNy1\package\tempPackage.manifest.zip...
Adding sitecore-import.json
Wrote C:\...\AppData\Local\Temp\tmp-52900G0A3kyGFGNy1\package\tempPackage.manifest.zip\tapp.1612293689528.manifest.zip
Sending package C:\...\AppData\Local\Temp\tmp-52900G0A3kyGFGNy1\package\tempPackage.manifest.zip\tapp.1612293689528.manifest.zip to https://----.local/sitecore/api/jss/import...
Unexpected response from import service:
Error: unable to verify the first certificate
C:\...\node_modules\@sitecore-jss\sitecore-jss-cli\dist\cli-shared.js:11
throw err;
^
undefined
When deploying my JSS app to sitecore, I had a similar certificate issue and had to use --acceptCertificate
, but I understand that isn't accepted for deploy component
.
This is a local instance of sitecore I'm using. Still kind of confused about whether I'm actually using connected or disconnected mode, since it's a local instance of Sitecore. Any help is appreciated. I haven't had a lot of luck searching for answers.