Esri / esri-leaflet-geocoder

helpers for using the ArcGIS World Geocoding Service in Leaflet
http://esri.github.io/esri-leaflet/examples/geocoding-control.html
Apache License 2.0
244 stars 101 forks source link

npm install failure #305

Closed JeffJacobson closed 1 year ago

JeffJacobson commented 1 year ago

It looks like a node dependency called node-gyp is failing because it requires Visual Studio and C++ development features installed for some reason. At the very least this dependency should be documented in the README.md file.

Failure happens with both node 18 (LTS) and 19 (current), even after installing the Visual Studio 2022 "Desktop development with C++" workload.

Looks like updating node-sass will resolve this issue.

Message from the error log

**************************************************************
You need to install the latest version of Visual Studio
including the "Desktop development with C++" workload.
For more information consult the documentation at:
https://github.com/nodejs/node-gyp#on-windows
**************************************************************

OS Info

Name Value
Edition Windows 10 Enterprise
Version 21H2
Installed on 5/19/2022
OS build 19044.2486
Experience Windows Feature Experience Pack 120.2212.4190.0