Npm install reported an error when installing bufferutil@1.2.1 and utf-8-validate@1.2.2

  node.js, question

Npm install or npmminstall gulp, bufferutil@1.2.1 and utf-8-validate@1.2.2

D:\work\h5app>npm install
 
 > bufferutil@1.2.1 install D:\work\h5app\node_modules\bufferutil
 > node-gyp rebuild
 
 
 D:\work\h5app\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\  node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
 One project at a time is generated in this solution.  To enable parallel generation, add the "/m" switch.
 D: \ work \ h5app \ node _ modules \ buffertil \ build \ buffertil.vcxproj (20,3): errormb4019: imported project "D:\Microsoft.Cpp.Default" not found.
 props”。  Verify that the path in the < Import > declaration is correct and that the file exists on disk.
 gyp ERR!  build error
 gyp ERR!  stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
 gyp ERR!  stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
 gyp ERR!  stack     at emitTwo (events.js:106:13)
 gyp ERR!  stack     at ChildProcess.emit (events.js:191:7)
 gyp ERR!  stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
 gyp ERR!  System Windows_NT 10.0.14393
 gyp ERR!  command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
 gyp ERR!  cwd D:\work\h5app\node_modules\bufferutil
 gyp ERR!  node -v v6.8.0
 gyp ERR!  node-gyp -v v3.4.0
 gyp ERR!  not ok
 
 > utf-8-validate@1.2.2 install D:\work\h5app\node_modules\utf-8-validate
 > node-gyp rebuild
 
 
 D:\work\h5app\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\  node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
 One project at a time is generated in this solution.  To enable parallel generation, add the "/m" switch.
 D: \ work \ h5app \ node _ modules \ utf-8-validate \ build \ validation.vcxproj (20,3): errormb4019: imported project "D:\Microsoft.Cpp.Defa not found
 ult.props”。  Verify that the path in the < Import > declaration is correct and that the file exists on disk.
 gyp ERR!  build error
 gyp ERR!  stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
 gyp ERR!  stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
 gyp ERR!  stack     at emitTwo (events.js:106:13)
 gyp ERR!  stack     at ChildProcess.emit (events.js:191:7)
 gyp ERR!  stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
 gyp ERR!  System Windows_NT 10.0.14393
 gyp ERR!  command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
 gyp ERR!  cwd D:\work\h5app\node_modules\utf-8-validate
 gyp ERR!  node -v v6.8.0
 gyp ERR!  node-gyp -v v3.4.0
 gyp ERR!  not ok
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 (node_modules\bufferutil):
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 install: `node-gyp rebuild`
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 (node_modules\utf-8-validate):
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 install: `node-gyp rebuild`
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
 Full stop

Node version is 6.8.0

After searching for a long time, we couldn’t find a correct solution.

I don’t know if brother has solved this problem. I have encountered this problem in WIN10_X64 and Ubuntu_x64, Node-Version: 6.9.4, npm_version:2.15.9