-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
ERR! configure error Windows 10 #95
Comments
If you install https://www.npmjs.com/package/windows-build-tools you get python and MSVC++ command line compiler. |
This does not help unfortunately. Actually when it says: gyp ERR! stack Error: Can't find Python executable "C:\Users\userName\AppData\Local\Programs\Python\Python36-32\python.EXE", you can set the PYTHON env variable. I opened the exact folder path and python.exe is there all the time. |
What happens if you type |
Docs:
Could you try that out? npm install --global --production windows-build-tools |
@mischnic he already tried: #95 (comment) |
I have python 3 installed and can enter python environment when typing python from CMD window. |
Also tried with installing windows-build-tools: But this does not help. |
@kusti8 , @kingvagabond , @parro-it , @albe-rosado : |
I have confirmed this with more certainty that this issue may be related to a normal user without admin permission. If I use an admin account to run the command create-proton-app my-app, I will not meet the error. It seems that some commands need admin permission but it will not popup dialog to ask for admin password when create-proton-app command executes. |
@Angelk90 Try do the same thing with admin account and see if you will meet this error. |
@kingvagabond : |
@Angelk90 hey another Italian! ❤️ |
@parro-it : I tried as you say, it does not work the same. :( |
@parro-it : I can not, can I contact you in private? |
@Angelk90 Could you please try uninstalling all Visual Studio versions you have currently currently installed (2013/2015/2017) and then running |
Only uninstall "Microsoft Visual Studio Community 2015" and the Installer. Don't uninstall any of the "Redistributable" or "Tools" because it might break other applications. |
@mischnic : Read here: felixrieseberg/windows-build-tools#110 |
@kingvagabond , @parro-it , @mischnic , @kusti8 , @albe-rosado :
|
Yes, you can write me at andrea@parro.it |
@parro-it : I was trying to send you a message on Twitter by chance you set that I can not send you messages? |
No, I don't think so... what's your twitter nickname? |
Continued in #150. |
run command in cmd.exe:
create-proton-app my-proton-app
output errors in console:
reactapp\my-proton-app\node_modules\libui-node>if not defined npm_config_node_gyp (node
"C:\Users\userName\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" configure build ) else (node "C:\Users\userName\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node_modules\node-gyp\bin\node-gyp.js" configure build )
gyp
ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Users\userName\AppData\Local\Programs\Python\Python36-32\python.EXE", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\userName\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder. (C:\Users\userName\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at C:\Users\userName\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\userName\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node_modules\node-gyp\bin\node-gyp.js" "configure" "build"
gyp ERR! cwd C:\Users\userName\Desktop\reactapp\my-proton-app\node_modules\libui-node
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! libui-node@0.1.0 build:
node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the libui-node@0.1.0 build 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\userName\AppData\Roaming\npm-cache_logs\2018-05-03T03_11_22_548Z-debug.log
Note: Actually I tried to open this debug.log file but it was empty.
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! libui-node@0.1.0 install:
libui-download && autogypi && npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the libui-node@0.1.0 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\userName\AppData\Roaming\npm-cache_logs\2018-05-03T03_11_23_405Z-debug.log
An error ocurred:
npm.cmd install --save --loglevel error proton-native has failed.
(node:7824) UnhandledPromiseRejectionWarning: Error: [object Object]
at isOnline.then.then.then.catch (C:\Users\userName\AppData\Roaming\npm\node_modules\create-proton-app\src\createApp.js:95:11)
at
(node:7824) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7824) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Environment:
Windows 10 64bit, node v10.0.0
The text was updated successfully, but these errors were encountered: