keplergl / keplergl/kepler.gl

When setting up local development environment, it keeps prompting that Visual Studio cannot be found, but I have already installed version 2022 and configured the environment.

Open
#2,270 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

When setting up local development environment, it keeps prompting that Visual Studio cannot be found, but I have already installed version 2022 and configured the environment.
################################################################################################
error E:\kepler.gl-master\node_modules\gl: Command failed.
Exit code: 1
Command: prebuild-install || node-gyp rebuild
Arguments:
Directory: E:\kepler.gl-master\node_modules\gl
Output:
prebuild-install WARN install No prebuilt binaries found (target=18.16.0 runtime=node arch=x64 libc= platform=win32)
gyp info it worked if it ends with ok
gyp info using node-gyp@7.1.2
gyp info using node@18.16.0 | win32 | x64
gyp info find Python using Python version 3.11.4 found at "D:\Program Files\Python311\python.exe"
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\2022\Community"
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack at VisualStudioFinder.fail (E:\kepler.gl-master\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
gyp ERR! stack at E:\kepler.gl-master\node_modules\node-gyp\lib\find-visualstudio.js:74:16
gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (E:\kepler.gl-master\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
gyp ERR! stack at E:\kepler.gl-master\node_modules\node-gyp\lib\find-visualstudio.js:70:14
gyp ERR! stack at E:\kepler.gl-master\node_modules\node-gyp\lib\find-visualstudio.js:372:16
gyp ERR! stack at E:\kepler.gl-master\node_modules\node-gyp\lib\util.js:54:7
gyp ERR! stack at E:\kepler.gl-master\node_modules\node-gyp\lib\util.js:33:16
gyp ERR! stack at ChildProcess.exithandler (node:child_process:427:5)
gyp ERR! stack at ChildProcess.emit (node:events:513:28)
gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "D:\\Program Files\\nodejs\\node.exe" "E:\\kepler.gl-master\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd E:\kepler.gl-master\node_modules\gl

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the project’s development-installation setup and the dependency installation path for node_modules/gl. Reproduce the Windows failure with Node.js 18.16.0, Python 3.11.4, and Visual Studio 2022, then establish whether the supported setup or its documentation needs updating; the issue is resolved when a documented setup completes without the node-gyp Visual Studio error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.