I have installed
Sitecore 10.2 on my pc and installed this
Sitecore Headless Services Server XP 19.0.0 rev. 00508.zip for
I have installed the latest version of a node using this file
Now I'm just creating one POC where I need to consume Sitecore JSON data on react app.
I'm following below Url for that.
While executing the command
npm install -g @sitecore-jss/sitecore-jss-cli I'm getting the below error
41 verbose stack FetchError: request to https://registry.npmjs.org/@sitecore-jss%2fsitecore-jss-cli failed, reason: connect ETIMEDOUT 18.104.22.168:443 41 verbose stack at ClientRequest.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\index.js:110:14) 41 verbose stack at ClientRequest.emit (node:events:520:28) 41 verbose stack at TLSSocket.socketErrorListener (node:_http_client:442:9) 41 verbose stack at TLSSocket.emit (node:events:532:35) 41 verbose stack at emitErrorNT (node:internal/streams/destroy:164:8) 41 verbose stack at emitErrorCloseNT (node:internal/streams/destroy:129:3) 41 verbose stack at processTicksAndRejections (node:internal/process/task_queues:83:21) 42 verbose cwd C:\WINDOWS\system32 43 verbose Windows_NT 10.0.18363 44 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "@sitecore-jss/sitecore-jss-cli" 45 verbose node v17.4.0 46 verbose npm v8.3.1 47 error code ETIMEDOUT 48 error syscall connect 49 error errno ETIMEDOUT 50 error network request to https://registry.npmjs.org/@sitecore-jss%2fsitecore-jss-cli failed, reason: connect ETIMEDOUT 22.214.171.124:443 51 error network This is a problem related to network connectivity. 51 error network In most cases you are behind a proxy or have bad network settings. 51 error network 51 error network If you are behind a proxy, please make sure that the 51 error network 'proxy' config is set properly. See: 'npm help config' 52 verbose exit 1
could anyone please help me to fix this issue? it is a blocker for me.
when I try to create react app using
jss create demojss react then also getting below error.
jss' is not recognized as an internal or external command