The error message you're encountering suggests an issue with the SSL certificate verification when trying to fetch the manifest from the specified URL. This error can occur if the SSL certificate on the server hosting the manifest is not recognized or trusted by your local machine.
Here are a few possible solutions you can try:
Disable strict SSL checking (temporary solution):
npm config set strict-ssl false
By setting strict-ssl to false, you disable strict SSL checking for all npm packages. This approach should only be used temporarily and is not recommended for production environments.
Specify the certificate authority file (.crt) explicitly (recommended solution):
npm config set cafile "path/to/certificate.crt"
Replace "path/to/certificate.crt" with the actual file path of your trusted certificate authority (CA) certificate. This will instruct npm to use the specified certificate for SSL verification.
Use a local file for testing (alternative solution):
If you're running a local development server and have a local copy of the manifest file, you can try providing a local file path instead of an HTTPS URL:
bubblewrap init --manifest="path/to/manifest.json"
Replace "path/to/manifest.json" with the actual file path on your local machine.
It's important to note that the exact solution may vary depending on your specific setup and configuration. If none of the above solutions work, you might need to investigate further or seek assistance from the server administrator or the SSL certificate provider to ensure the SSL certificate is correctly installed and trusted.