For npm dependencies, PowerShell is stuck after installing VS Build tools and it says it is still waiting for installer log file to install python?

Viewed 27056

The command I used (run as administrator):

npm install --global --production windows-build-tools

screen shot

5 Answers

I also faced the same problem and I tried with the below command, it worked.

npm install --global --production windows-build-tools@4.0.0

Regards, venkatesh.

I am running into the issue above. After google, I luckily find a related thread on github about how to resolve stuck when installing windows-build-tool with npm from powershell on Windows. The following are a bunch of screenshots.

screenshot

Another option is to try installing the build tools via Chocolatey instead (use an Administrator command line):

choco install python visualstudio2017-workload-vctools -y

Credits to karlhorky

Spot On!!

You can simply hit below command:

npm install --global windows-build-tools@4.0.0

It will work for sure. Thanks

Related