I\'m trying to install the filepreview module with npm. But it always gives error. Here is the error:
filepreview
npm
D:\\Program Files\\nodejs\\P
Simple fix worked for me is:
I installed Python 3.7 and installed Visual Studio version 2017 from https://my.visualstudio.com/Downloads?q=visual%20studio%202017
Also installed recommended updates.
And then I set npm config set msvs_version 2017 --global.