Reputation: 16090
There are many important node-gyp-dependent NodeJS modules, but to install them on windows requires a certain amount of software to be preinstalled (python, visual studio). It's crude and time-consuming solution:
So what are possibilities of reducing this issue to zero?
Are there some services which provide pre-built to certain platform modules?
And why developers of those modules can't just distribute already built modules for major windows versions?
Upvotes: 2
Views: 166
Reputation: 13665
There is a project addressing this issue called node-pre-gyp. This does require the package developer to opt-in to using node-pre-gyp
as well as figuring out how to host the binaries themselves somehow. But when it works it's pretty nice.
I have a similar project electron-updater-tools which supports electron compatible pre-built binaries.
There has been talk about node foundation adding some better support for this inherently (e.g. cross platform CI servers and binary hosting facilities) but the conversation is on-going.
Upvotes: 1