Sitecore Asked on January 3, 2022
I am trying to create JSS
app locally however getting below error while running the Sitecore JSS creates command.
Error:Unable to get local issuer certificate
Command: jss create appname react
I am using the following versions on my local.
Sitecore Version: 9.2
JSS Version: 12.0
Node Version: 12.18.3
NPM Version: 6.14.6
Please help me how I can resolve this issue.
Thanks,
Alok…
The jss create
command simply clones one of these starter projects from the public jss repo. So errors when running this command are usually caused by GitHub being blocked due to a security policy.
If adding the Sitecore JSS repo to list of permitted access points is not an option with your company, you have the following options:
When you run jss create [project-name] react
- in this example react
is not a magic string; it is simply the name of a starter project. You can do this for a starter project on your local machine, too. Copy the entire folder of the starter you want to use (one of these) to your machine, and run jss create [project-name] [starter-name] --source ./path/to/starter
. This option is quick and will solve the issue on your local machine, but…
if you need a company-wide fix, then the following approach is better. Clone the starter to your company’s GitHub org (or wherever your company stores it’s repos, which aren’t blocked by the security policy). Then use jss create <appname> <starter-name> --repository githubusername/reponame --branch branchname
.
Answered by Anastasiya on January 3, 2022
0 Asked on August 23, 2021 by gautam-aneja
2 Asked on August 23, 2021 by corey-burnett
1 Asked on August 23, 2021 by suresh-r
1 Asked on August 23, 2021 by sitecorenerd
4 Asked on August 23, 2021 by rajesh-kumar
3 Asked on August 23, 2021 by breno-diniz-pelosi
2 Asked on August 23, 2021 by serhii-shushliapin
3 Asked on August 23, 2021 by arpana-mittal
1 Asked on August 23, 2021 by nadine-lendzian
2 Asked on August 23, 2021 by alok-kumar
1 Asked on August 23, 2021 by siddharth
2 Asked on August 23, 2021 by barada-behura
0 Asked on August 23, 2021 by sonu
1 Asked on August 23, 2021 by arun-tiwari
1 Asked on August 23, 2021 by pirate-briggs
1 Asked on August 23, 2021 by user2980
Get help from others!
Recent Answers
Recent Questions
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP