Reputation: 322
The error that I got when tried to install gatsby cli is attached as picture . I've already installed the node in my system.
Is there any solution for that?
Upvotes: 2
Views: 717
Reputation: 29335
In your case, it seems that the host that npm is trying to reach is not responding or is inaccessible. Besides of trying it again, I would suggest checking the Gatsby on Windows documentation.
Run:
npm install --global windows-build-tools --vs2015
Upon installing this package, it downloads and installs Visual C++ Build Tools 2015, provided free of charge by Microsoft. These tools are required to compile popular native modules. It will also install Python 2.7, configuring your machine and npm appropriately.
In addition, check that you've followed and you have installed the prerequisites to set up your development environment.
Upvotes: 1