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.

Errors when installing on Windows 10

See original GitHub issue

I get this after run npm install -g backslide

npm ERR! hummus@1.0.82 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hummus@1.0.82 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the hummus package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build

and the root cause

gyp ERR! stack Error: Can't find Python executable "C:\Users\zhang\Anaconda3\python.EXE", you can set the PYTHON env variable.
gyp ERR! stack     at Object.failNoPython (C:\Users\zhang\AppData\Roaming\npm\node_modules\backslide\node_modules\node-gyp\lib\configure.js:483:19)

But I do have C:\Users\zhang\Anaconda3\python.exe and have my env variables set correctly (because I can enter the Python REPL by typing python in the CMD).

Could you please help me have a look?

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
yzhang-ghcommented, Oct 8, 2017

Tried without proxy but it seems not to be the cause.

Then I searched “hummus node-pre-gyp install --fallback-to-build” on Google and found a solution

npm install -g node-gyp npm install --global --production windows-build-tools (for Windows users)

And then run npm install -g backslide. The error is still there (it is expected on Windows) but the installation will continue.


But the new problem is ERROR: Failed to download Chromium r499413 when installing package puppeteer 😵

0reactions
yzhang-ghcommented, Oct 8, 2017

After reinstallation it works. The second problem is just caused by the network.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Click Start windows icon · Right-click Windows Installer, and then click Properties. · If the Startup type box is set to Disabled, change...
Read more >
12 irritating Windows 10 installation issues, and how to fix them
First, make sure you've disconnected any nonessential hardware: Unplug all hard drives other than the C: drive. Yank that external hard drive, ...
Read more >
[SOLVED] Windows 10 Installation Has Failed - Driver Easy
[SOLVED] Windows 10 Installation Has Failed · Try these fixes… · Fix 1: Remove the peripheral devices · Fix 2: Clear an attribute...
Read more >
Windows 10 Installation Has Failed [Easily FIXED]
How do I fix Windows 10 installation failed? · 1. Unplug all peripheral devices · 2. Uninstall the language pack · 3. Uninstall...
Read more >
How to Fix the Most Common Windows 10 Installation Problems
If you continue to experience problems after creating multiple installation media and trying to install Windows 10 more than once, you may have ......
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