Hi,
I am doing a POC on how to create and publish a custom constellation dx component following the below url
https://docs-previous.pega.com/cosmos-dx-components-cosmos-react/87/initializing-project?
While trying to initialize a project, I am facing with “self-signed certificate in certificate chain” error.
Any suggestions would be appreciated to move further.
@HemanthKumarC To resolve the ‘self-signed certificate in certificate chain’ error, you can try the following steps:
-
Allow invalid certificates for resources loaded from localhost: If you are using Google Chrome, go to chrome://flags/#allow-insecure-localhost and in the ‘Allow invalid certificates for resources loaded from localhost’ drop-down list, select ‘Enabled’.
-
Set npm Registry to public registry: If you encounter an error, set your npm Registry to point to the npm public registry. You can do this by running the following command in your terminal:\
npm config set registry https://registry.npmjs.org/\n
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
[Initializing a project](https://docs.pega.com/bundle/constellation-dx-components/page/constellation-dx-components/custom-components/initialize-project.html)
Please log a support issue via the MSP if you need further help. Please provide the INC id here.
@HemanthKumarC
Can you please check if this helps before executing the init command?
npm config set strict-ssl false