Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshoot dev environment on Windows #423

Open
nellshamrell opened this issue Apr 6, 2021 · 2 comments
Open

Troubleshoot dev environment on Windows #423

nellshamrell opened this issue Apr 6, 2021 · 2 comments

Comments

@nellshamrell
Copy link
Contributor

Running $npm install works well on Mac and Linux, but there are some errors when attempting to run it on Windows.

In particular, when trying to run $npm install in PowerShell or Git Bash for Windows, the command errors out due to Python not being installed. Once the user installs Python, it then errors out indicating that Visual Studio (not VSCode) is not installed on the system.

We need to investigate this and get it installing (and running tests) cleaning in a Windows environment.

@pnibakuze-ms
Copy link
Contributor

After some troubleshooting, I followed the steps below to resolve "npm instal" issue:

  1. Install Python
  2. Ensure Desktop development with C++ component is installed in VS2019 (or whatever VS version you have)
  3. At this point I had an error related to lzma-native module with I had to install by running "npm install --save lzma-native". See https://www.npmjs.com/package/lzma-native
  4. Finally I can run "npm test" successfully but 18 of 133 tests are failing in my forked master branch

@nellshamrell
Copy link
Contributor Author

I definitely want to take a look at the VS requirement - I don't think it's reasonable to expect people outside of Microsoft to have Visual Studio (note this refers to Visual Studio itself, not VSCode) installed since it is so expensive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants