felixrieseberg/windows-build-tools

Problems when user is not admin

Open

#115 opened on 2018年5月11日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)TypeScript (234 forks)github user discovery
help wanted

Repository metrics

Stars
 (3,410 stars)
PR merge metrics
 (PR metrics pending)

説明

Hi, and thanks for this invaluable tool. Correctly configuring msbuild by hand is a pain.

I've run into a problem when the developer user does not have admin permissions. To install windows-build-tools one has to start an admin cmd/powershell as the admin user (let's call it admin) Msbuild gets installed correctly this way, but the problem is, that Python gets installed in C:\Users\admin\.windows-build-tools and is owned by the admin user. The python config variable of npm is set to that path, which results in npm not finding python (even if python was installed earlier).

Would it be possible to have windows-build-tools install Python globally, so all users can access it?

コントリビューターガイド