If we found this error while running gulp extension:local. Then do following step.
1)In the Command which is open as adminstrator run the command ‘npm install -g windows-build-tools’.
2)Then uninstall the nvm setup and reinstall it
3)perform the commands of npm install .Then it will not show the error.