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

Install fails on Windows 10 with message "Failed at the [email protected] install script" #1

Open
soumik-mukherjee opened this issue Feb 15, 2020 · 0 comments
Assignees

Comments

@soumik-mukherjee
Copy link
Owner

soumik-mukherjee commented Feb 15, 2020

Installation on Windows 10 fails while trying to build dependency [email protected]

Detailed Description

The [email protected] dependency of [email protected] resolves to [email protected]. Leveldown documentation indicates pre-built binaries are available for Windows, however this is probably not the case for the combination of [email protected] node v12.16.0 & Windows 10 (see here). This takes the installation to a fallback compilation step for [email protected] which will run into several compilation errors. If the fallback compilation step was triggered you would see the below in your npm install logs:

> [email protected] install C:\Users\....\AppData\Roaming\npm\node_modules\local-npm\node_modules\leveldown
> prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=12.16.0 runtime=node arch=x64 platform=win32)

Context

Possible Implementation

The latest release of pouchdb will resolve to [email protected] which has the required pre-built binaries for Windows and node v12 and will avoid the fallback compilation step.

Your Environment

  • Version used: [email protected]
  • Environment name and version (e.g. PHP 5.4 on nginx 1.9.1): Node v12.16.0
  • Server type and version: NA
  • Operating System and version: Windows_NT 10.0.18362
  • Link to your project:
@soumik-mukherjee soumik-mukherjee changed the title Install fails on Windows 10 - Failed at the [email protected] install script. Install fails on Windows 10 with message "Failed at the [email protected] install script" Feb 15, 2020
@soumik-mukherjee soumik-mukherjee self-assigned this Feb 15, 2020
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

1 participant