mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #95] ERR! configure error Windows 10 #57
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kingvagabond on GitHub (May 3, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/95
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 buildnpm 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 buildnpm 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
@parro-it commented on GitHub (May 3, 2018):
If you install https://www.npmjs.com/package/windows-build-tools you get python and MSVC++ command line compiler.
@kingvagabond commented on GitHub (May 3, 2018):
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.
@parro-it commented on GitHub (May 3, 2018):
What happens if you type
pythonin a cmd window?@mischnic commented on GitHub (May 3, 2018):
Docs:
Could you try that out?
@parro-it commented on GitHub (May 3, 2018):
@mischnic he already tried: https://github.com/kusti8/proton-native/issues/95#issuecomment-386220338
@kingvagabond commented on GitHub (May 4, 2018):
I have python 3 installed and can enter python environment when typing python from CMD window.
@kingvagabond commented on GitHub (May 4, 2018):
Also tried with installing windows-build-tools:
npm install --global --production windows-build-tools
But this does not help.
@Angelk90 commented on GitHub (May 4, 2018):
@kusti8 , @kingvagabond , @parro-it , @albe-rosado :
I have the same problem on window 8.1 does not work.
I installed: npm install --global --production windows-build-tools.
Installed correctly.
I own pyton 2.7.
npm list -g create-proton-app: 1.1.5
When I create an error project.
How can I solve?
@kingvagabond commented on GitHub (May 4, 2018):
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.
@kingvagabond commented on GitHub (May 4, 2018):
@Angelk90 Try do the same thing with admin account and see if you will meet this error.
@Angelk90 commented on GitHub (May 4, 2018):
@kingvagabond :

P.Š. How do you win console, to take the text?
In other words, do the redirect of the output?
Same thing:
@parro-it commented on GitHub (May 8, 2018):
@Angelk90 hey another Italian! ❤️
Could you try installing Visual C++ Redistributable Package per Visual Studio 2013 for your platform?
@Angelk90 commented on GitHub (May 8, 2018):
@parro-it : I tried as you say, it does not work the same. :(
@Angelk90 commented on GitHub (May 25, 2018):
@parro-it : I can not, can I contact you in private?
@mischnic commented on GitHub (May 25, 2018):
@Angelk90 Could you please try uninstalling all Visual Studio versions you have currently currently installed (2013/2015/2017) and then running
npm install --global windows-build-tools?@Angelk90 commented on GitHub (May 26, 2018):
@mischnic , @parro-it :

You could tell me all the steps I have to do to start a project.
That's all I've installed on visual studio right now, do I have to uninstall everything?
2005/2008/2010/2012/2013/2015/2017?
Then, what should I do next?
Install visual studio code again?
@mischnic commented on GitHub (May 26, 2018):
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.
Then run
npm install --global windows-build-tools(I don't have this error myself, but this was a solution that came up with a "could not find windowssdkdir variable from the registry" google search -> here)
@Angelk90 commented on GitHub (May 26, 2018):
@mischnic : Read here: https://github.com/felixrieseberg/windows-build-tools/issues/110
I have this problem, but I'm not understanding how to fix it seems to be a windows-build-tools problem.
@Angelk90 commented on GitHub (May 30, 2018):
@kingvagabond , @parro-it , @mischnic , @kusti8 , @albe-rosado :
I'm not succeeding, let's start all over again.
I have Win 8.1, I installed windows-build-tools 3.0.0.
When I create the project with: create-proton-app my-app
It gives me the following error: npm.cmd install has failed.
You could do a win test, let me know what he tells you.
Log file:
@parro-it commented on GitHub (May 30, 2018):
Yes, you can write me at andrea@parro.it
Sorry for the late response, I someway missed your comment
@Angelk90 commented on GitHub (May 30, 2018):
@parro-it : I was trying to send you a message on Twitter by chance you set that I can not send you messages?
@parro-it commented on GitHub (May 30, 2018):
No, I don't think so... what's your twitter nickname?
Just drop me a short e-mail if you can't reach me there...
@kusti8 commented on GitHub (May 30, 2018):
Continued in #150.