Appium install via npm install error

Hello,

I was able to install and use appium 1.6.1 a few month back using the “npm install -g appium” command. I did this on a couple of systems without issue. Now I have two systems that appium does not install on.

Below is the text from the console output. I can launch the server after this install but all connections to it fail. There is a thread from Nov '15 noting a gyp error but it concerns running the server on a mac. I could find any issues anyone had running this on Win 8.1 so I hope there something simple I’m missing. This seems to be where it all goes wrong:

fatal error C1083: Cannot open include file: ‘stdint.h’: No such file or directory [C:\Users\tester\App
Data\Roaming\npm\node_modules\appium\node_modules\heapdump\build\binding.sln]

Any ideas?
Dan

[email protected] install C:\Users\tester\AppData\Roaming\npm\node_modules\appium
\node_modules\heapdump
node-gyp rebuild

C:\Users\tester\AppData\Roaming\npm\node_modules\appium\node_modules\heapdump>if
not defined npm_config_node_gyp (node “C:\Users\tester\AppData\Roaming\npm\node
_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\…\node_modules\node-gy
p\bin\node-gyp.js” rebuild ) else (node “C:\Users\tester\AppData\Roaming\npm\no
de_modules\npm\node_modules\node-gyp\bin\node-gyp.js” rebuild )
Building the projects in this solution one at a time. To enable parallel build,
please add the “/m” switch.
c:\users\tester.node-gyp\8.9.1\include\node\v8.h(19): fatal error C1083: Canno
t open include file: ‘stdint.h’: No such file or directory [C:\Users\tester\App
Data\Roaming\npm\node_modules\appium\node_modules\heapdump\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\tester\AppData\Roaming\npm\n
ode_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:198:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Users\tester\AppDa
ta\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” "
rebuild"
gyp ERR! cwd C:\Users\tester\AppData\Roaming\npm\node_modules\appium\node_module
s\heapdump
gyp ERR! node -v v8.9.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\app
ium\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”}
)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\app
ium\node_modules\heapdump):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gy p rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1