adobe / adobe/aio-cli-plugin-aem-cloud-service-migration

Getting issue when downloading the aio plugins:install @adobe/aio-cli-plugin-aem-cloud-service-migration

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21
Forks
11
PR merge metrics
No merged PRs in 30d

Description

### Expected Behaviour
Plugin should get downloaded successfully
### Actual Behaviour
Downloading is getting failed.

Logs :-
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@16.17.1 | win32 | x64
gyp info find Python using Python version 3.10.7 found at "C:\Python310\python.exe"
gyp http GET https://nodejs.org/download/release/v16.17.1/node-v16.17.1-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v16.17.1/node-v16.17.1-headers.tar.gz failed, reason: unable to get local issuer certificate
gyp ERR! stack at ClientRequest. (C:\*\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\index.js:130:14)
gyp ERR! stack at ClientRequest.emit (node:events:513:28)
gyp ERR! stack at TLSSocket.socketErrorListener (node:_http_client:481:9)
gyp ERR! stack at TLSSocket.emit (node:events:525:35)
gyp ERR! stack at emitErrorNT (node:internal/streams/destroy:157:8)
gyp ERR! stack at emitErrorCloseNT (node:internal/streams/destroy:122:3)
gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
gyp ERR! System Windows_NT 10.0.19044
gyp ERR! command "C:\\*\\nodejs\\node.exe" "C:\\*\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

gyp ERR! node -v v16.17.1
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok
Installing plugin @adobe/aio-cli-plugin-aem-cloud-service-migration... failed
Error: yarn add @adobe/aio-cli-plugin-aem-cloud-service-migration@latest --non-interactive
### Reproduce Scenario (including but not limited to)

#### Steps to Reproduce

#### Platform and Version

#### Sample Code that illustrates the problem

#### Logs taken while reproducing problem

Contributor guide

Open the contributing guide

Research direction

Start with the `yarn add @adobe/aio-cli-plugin-aem-cloud-service-migration@latest --non-interactive` installation command and the provided Windows `node-gyp` log. Investigate the failed Node.js headers request and certificate error; done means the plugin installs successfully on the reported Windows and Node.js versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.