npm install that requires node-gyp fails on Windows

The answer below stands for a manual installation, but there is a much simpler way : the automatic install.

Open Powershell as admin and run npm install -g windows-build-tools.

The install takes time but it worked like a charm for me !

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)