Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robotjs not installing correctly #25

Open
csf30816 opened this issue Apr 1, 2018 · 1 comment
Open

Robotjs not installing correctly #25

csf30816 opened this issue Apr 1, 2018 · 1 comment

Comments

@csf30816
Copy link

csf30816 commented Apr 1, 2018

//Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\*user*\Moomoo-AI-Bot-Sender-master\Moomoo-AI-Bot-Sender-master>npm config set python python2.7

C:\Users\*user*\Moomoo-AI-Bot-Sender-master\Moomoo-AI-Bot-Sender-master>npm config set msvs_version 2015

C:\Users\*user*\Moomoo-AI-Bot-Sender-master\Moomoo-AI-Bot-Sender-master>npm install robotjs

> robotjs@0.4.7 install C:\Users\*user*\Moomoo-AI-Bot-Sender-master\Moomoo-AI-Bot-Sender-master\node_modules\robotjs
> prebuild-install || node-gyp rebuild

prebuild-install info begin Prebuild-install version 2.5.1
prebuild-install info looking for local prebuild @ prebuilds\robotjs-v0.4.7-node-v59-win32-x64.tar.gz
prebuild-install info looking for cached prebuild @ C:\Users\*user*\AppData\Roaming\npm-cache\_prebuilds\https-github.com-octalmage-robotjs-releases-download-v0.4.7-robotjs-v0.4.7-
node-v59-win32-x64.tar.gz
prebuild-install http request GET https://github.com/octalmage/robotjs/releases/download/v0.4.7/robotjs-v0.4.7-node-v59-win32-x64.tar.gz
prebuild-install http 404 https://github.com/octalmage/robotjs/releases/download/v0.4.7/robotjs-v0.4.7-node-v59-win32-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=9.0.0 runtime=node arch=x64 platform=win32)

C:\Users\*user*\Moomoo-AI-Bot-Sender-master\Moomoo-AI-Bot-Sender-master\node_modules\robotjs>if not defined npm_config_node_gyp (node "C:\Users\*user*\AppData\Roaming\n
pm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\*user*\AppData\Roaming\npm\node_modules\np
m\node_modules\npm-lifecycle\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\*user*\Moomoo-AI-Bot-Sender-master\Moomoo-AI-Bot-Sender-master\node_modules\robotjs\build\robotjs.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Def
ault.props" was not found. Confirm 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:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\*user*\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:135:13)
gyp ERR! stack     at ChildProcess.emit (events.js:224:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\*user*\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\npm-lifecycle\\node_modules\\node-gyp\\bin\\node-
gyp.js" "rebuild"
gyp ERR! cwd C:\Users\*user*\Moomoo-AI-Bot-Sender-master\Moomoo-AI-Bot-Sender-master\node_modules\robotjs
gyp ERR! node -v v9.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! robotjs@0.4.7 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the robotjs@0.4.7 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\*user*\AppData\Roaming\npm-cache\_logs\2018-04-01T04_03_31_743Z-debug.log

C:\Users\*user*\Moomoo-AI-Bot-Sender-master\Moomoo-AI-Bot-Sender-master>

I don't know what went wrong

@Sam1370
Copy link

Sam1370 commented Apr 29, 2018

FIX THE PROBLEM BY INSTALLING THIS:
visualcppbuildtools_full.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants