antonycourtney / tad

A desktop application for viewing and analyzing tabular data
http://tadviewer.com
MIT License
3.19k stars 119 forks source link

Getting Visual Studio error on Installation #192

Closed akash-goel closed 1 year ago

akash-goel commented 1 year ago

Hi Team,

I am trying to use Tad with Duck db as a Web app , So i am trying to install Tad using "https://github.com/antonycourtney/tad/blob/master/doc/building.md" but i am getting the Visual Studio Installation error.

image

Request you to guide do I have to install any specific version of Visual studio or any other step i have to follow.

Regards, Akash Goel

akash-goel commented 1 year ago

Hi Team ,

I have tried installing it multiple time , I am getting below error .

1- I have installed npm 6.14.15 2- Installed Build Tools and Installed Visual Studio Community version with Desktop environment with c++ as well. 3- Set the msvs version. 4 - Than run "npm run bootstrap" which is giving below error.

image

Can you please guide if i am missing anything or any specific version which will work with Tad.

antonycourtney commented 1 year ago

I suspect this is an issue with some node.js addons that need to be compiled from source. This Stack Overflow question seems to address this: https://stackoverflow.com/questions/63595369/compile-node-gyp-c-addon-with-visual-studio-2017-or-2019 You can also have a look at the setup used by the Windows CI jobs: https://dev.azure.com/antonycourtney/Tad/_build/results?buildId=154&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3 This CI job is built based on https://github.com/antonycourtney/tad/blob/master/azure-pipelines.yml. It uses the vmImage 'windows-latest'; here is the software (and versions) installed on that vm: https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md

Hope that helps! Closing issue for now.