question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error installing nos-client on windows

See original GitHub issue

Unable to install nos-client on windows.

Expected Behavior

Installation of nos-client should be smooth on windows

Current Behavior

Getting below error. I have windows sdk,python installed. C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(31): fatal error C1083: Cannot open include file: ‘ctype.h’: No such file or directory [C:\Users\htammare\Documents\GitHub\client\node_modules\node-hid\build\hidapi.vcxproj] 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:258:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12) gyp ERR! System Windows_NT 10.0.10586 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 C:\Users\htammare\Documents\GitHub\client\node_modules\node-hid

Possible Solution

Reinstalling windows sdk. I tried this but no luck yet.

Steps to Reproduce (for bugs)

Use windows machine and clone nos-client and run the first command “yarn install && yarn start”

Context

I wanted to develop a dapp which i am not able to do as i am struck here

Your Environment

Windows 10 Python 2.7.14 node 10.2.1 yarn 1.6.0 npm 6.1.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
DalderupMauricecommented, May 27, 2018

I’ve seen this issue a dozen times before with people having Visual Studio installed on their Windows PC.

(not sure if this on is needed aswell - but I’ll throw it in here: npm install -g node-gyp )

But you sure need to do this:

  1. You should execute this npm install --global --production windows-build-tools
  2. Install this http://landinghub.visualstudio.com/visual-cpp-build-tools
  3. and generate an empty C++ project in visual studio - doing this installs some libraries which fixes the error lol 😄
2reactions
SharedMochacommented, May 29, 2018

Closing this issue as it’s resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >
Installing NSClient++
The NSClient++ installer for windows is a standard MSI installer which means it can be installed using pretty much all deployment techniques available...
Read more >
Install and configure NSClient++ under Windows
This article describes how a Windows system can be prepared with NSClient++ and integrated into Icinga. Contents. 1 Installation. 1.1 Debug Mode ...
Read more >
Installing the Windows Agent NSClient++
1. Log on to the windows machine you wish to install the NSClient++ agent on. 2. Run the NSClient++ installer package to start...
Read more >
If you can't install or update iTunes for Windows
If you have trouble installing iTunes from Apple's website, download iTunes from the Microsoft Store. If you can't download or update iTunes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found