You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not very familiar with building native node modules, so I'm not sure if this is even an issue with this project. I was able to build this without any issues on Linux, but it took a bit of effort on Windows. I think the hdf5_home_win flag isn't getting set.
I tried setting it with --hdf5_home_win="C:\Program Files\HDF_Group\HDF5\1.10.4", and also with npm config set hdf5_home_win "C:\Program Files\HDF_Group\HDF5\1.10.4". Neither worked. Downloading this package with npm pack hdf5, untar'ing it, then changing the variable value "hdf5_home_win%" in binding.gyp, still didn't work. I finally got it to build after replacing all of the <(hdf5_home_win) placeholders in binding.gyp with the full path.
Windows 10
node v10.11.0
npm 6.4.1
windows-build-tools 5.1.0
HDF5 1.10.4
The text was updated successfully, but these errors were encountered:
I reinstalled HDF5 to C:\hdf5 and the npm config set hdf5_home_win config and --hdf5_home_win flag both seem to let the package build. I'm guessing it's because of the space in "Program Files"? Could this be documented somehow?
I'm not very familiar with building native node modules, so I'm not sure if this is even an issue with this project. I was able to build this without any issues on Linux, but it took a bit of effort on Windows. I think the
hdf5_home_win
flag isn't getting set.I tried setting it with
--hdf5_home_win="C:\Program Files\HDF_Group\HDF5\1.10.4"
, and also withnpm config set hdf5_home_win "C:\Program Files\HDF_Group\HDF5\1.10.4"
. Neither worked. Downloading this package withnpm pack hdf5
, untar'ing it, then changing the variable value"hdf5_home_win%"
inbinding.gyp
, still didn't work. I finally got it to build after replacing all of the<(hdf5_home_win)
placeholders inbinding.gyp
with the full path.Windows 10
node v10.11.0
npm 6.4.1
windows-build-tools 5.1.0
HDF5 1.10.4
The text was updated successfully, but these errors were encountered: