node.js - Getting node-gyp dependent modules on windows without building -
there many important node-gyp-dependent nodejs modules, install them on windows requires amount of software preinstalled (python, visual studio). it's crude , time-consuming solution:
- just proper python + vs version specific windows version challenge worthy of sherlock holmes skills
- installing whole ide , python , never use it, module locally once? crazy.
- distributing such nodejs apps may require consumer have gyp-related bloatware installed, , means loosing 99% consumers.
so possibilities of reducing issue zero?
are there services provide pre-built platform modules?
and why developers of modules can't distribute built modules major windows versions?
there project addressing issue called node-pre-gyp. require package developer opt-in using node-pre-gyp
figuring out how host binaries somehow. when works it's pretty nice.
i have similar project electron-updater-tools supports electron compatible pre-built binaries.
there has been talk node foundation adding better support inherently (e.g. cross platform ci servers , binary hosting facilities) conversation on-going.
Comments
Post a Comment