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.

ERR! configure error Windows 10

See original GitHub issue

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.<anonymous> (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 <anonymous> (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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
kingvagabondcommented, 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.

1reaction
parro-itcommented, May 3, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors
Right-click Windows Installer, and then click Properties. If the Startup type box is set to Disabled, change it to Manual. Click OK to...
Read more >
gyp ERR! configure error · Issue #1491 · nodejs/node-gyp
After many tests, one of my problem was because i setted a Windows path to the Microsoft compiler (i dont know why, but...
Read more >
node-gyp configure got "gyp ERR! find VS"
There are 2 aspects to this error. ... npm install --g --production windows-build-tools ... Worked For me on Windows 10.
Read more >
A Comprehensive Guide to Fixing Node-Gyp Issues on Windows
Try running npm install –no-optional to install only the required dependencies. If you run this and still get the error, I have bad...
Read more >
Gyp ERR! configure error Installing on WIndows 10 Localhost
I'm following this tutorial: https://www.youtube.com/watch?v=hnif644KVrM Installing node.js and extract all ghost file, but I get error: ...
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