I am using gulp with Visual Studio to create sass files on Windows. This uses libsass, which has both 64 and 32 bit bindings.
Visual Studio runs in a 32-bit context and thus installs and requires the 32-bit libsass library. However, running msbuild from the command line requires a 64-bit version of libsass.
This means that I constantly get an error message libsass bindings not found in ...\node-sass\vendor\win32-ia32-11\binding.node. Try reinstalling node-sass(or win32-x64-14after redirecting from the command line).
Running npm installfrom different contexts does not work, because npm believes that the module is already fully installed.
Currently, the only solution I have found is to permanently delete the entire node_modules folder and reinstall all the packages every time.
Ideally, I would like to install 32 and 64-bit packages at the same time.
source
share