1

I have Sitecore 9.0 update -1 version and followed (https://jss.sitecore.com/docs/getting-started/jss-server-install) to setup JSS server.

Finally I can test my component like below and its working.

enter image description here

I tried to setup basic sitecore react JSS app using this(https://jss.sitecore.com/docs/getting-started/quick-start).

I can install JSS client but I can't install sample react app.

Error below,

enter image description here

I tried setting up proxy for npm. Nothing will get work.

How can we resolve this error or how we can trouble shoot.

  • 1
    Everything looks like it is setup ok on the server. The error you're getting Error: connect ECONNREFUSED would indicate there's a potential issue with your network connection. Is your computer behind a firewall/proxy that is blocking access to GitHub? Specifically, you need to be able to access https://api.github.com and https://github.com. – Adam Weber Jan 24 at 21:17
2

Thanks for the hint "@Adam Webar" proxy is the issue here.

below things i try to resolve finally,

  1. clear npm,git caches.

  2. clear git windows credentails in credential manager.

  3. Important below is enabling proxy for npm,git and system variables like below from command prompt.

[Enable npm proxy]

[Enable git proxy]

[Enable system variabel proxy]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.