-
I’m talking about this package: https://npm.im/windows-build-tools It installs a C/C++ compiler and Python so that you can install packages with native modules (for example, sharp). My questions are:
I’m asking the same question over at the windows-build-tools repository: felixrieseberg/windows-build-tools#239 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The question was answered by @jacobq at felixrieseberg/windows-build-tools#239 In summary: nvm does not subsume windows-build-tools. You should still install windows-build-tools to work with native dependencies. You may install windows-build-tools only once. Unlike other global utilities, this isn’t a command-line tool that should be available when you switch to different Node version. Once the C/C++ compiler and Python are installed, they’ll continue to work even if you switch to different Node versions. |
Beta Was this translation helpful? Give feedback.
-
This worked for me:
|
Beta Was this translation helpful? Give feedback.
The question was answered by @jacobq at felixrieseberg/windows-build-tools#239
In summary:
nvm does not subsume windows-build-tools. You should still install windows-build-tools to work with native dependencies.
You may install windows-build-tools only once. Unlike other global utilities, this isn’t a command-line tool that should be available when you switch to different Node version. Once the C/C++ compiler and Python are installed, they’ll continue to work even if you switch to different Node versions.