/Applications/DevEco-Studio.app/Contents/tools/ohpm/bin/ohpm install --all --registry http://xxx/j2c/hm_ohpm/repos/ohpm/ --strict_ssl true
ohpm INFO: MetaDataFetcher fetching meta info of package '@j2c/deviceManager' from http://xxx/j2c/hm_ohpm/repos/ohpm/
ohpm WARN: fetch meta info of package '@j2c/deviceManager' failed - GET http://xxx/j2c/hm_ohpm/repos/ohpm/@j2c/deviceManager 404
ohpm ERROR: NOTFOUND package '@j2c/deviceManager@1.0.1' not found from all the registries http://xxx/j2c/hm_ohpm/repos/ohpm/
ohpm ERROR: missing: @j2c/deviceManager@1.0.1, required by entry@1.0.0
ohpm ERROR: Found exception: Error: FetchPackageInfo: "@j2c/deviceManager" failed, reached retry limit or non retryable error encountered.
ohpm ERROR: ERUNNING execute tasks failed, Error: FetchPackageInfo: "@j2c/deviceManager" failed
ohpm ERROR: Install failed, detail: Error: FetchPackageInfo: "@j2c/deviceManager" failed
引用包时会报如上错误。
需要将strict\_ssl设置为false。