Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2.02 KB

README_WINDOWS.md

File metadata and controls

42 lines (30 loc) · 2.02 KB

Aerospike Node.js Client on Windows appveyor

The Aerospike Node.js client port to Windows is a community supported project and suitable for application prototyping and development.

Prerequisites

  • Windows 7 or later
  • Windows 8.1 SDK
  • Visual C++ 2015 Build Tools
  • Node.js v8.x (LTS) or later

The package includes a native add-on. To compile the add-on, Microsoft's Visual C++ Build Tools 2015 are required. The easiest way to install the build tools, is using the windows-build-tools npm package:

npm install windows-build-tools --global --vs2015

The Aerospike Node.js client depends on the Aerospike C client. During installation, a copy of the C client SDK is downloaded and compiled. Additionally set of pre-built, third-party libraries are downloaded and installed via the aerospike-client-c-dependencies nuget package. Please refer to the Aerospike C client documentation for further information.

Frequently Asked Questions

While installing the client, I am getting an error that "build-c-client.ps1 cannot be loaded because running scripts is disabled on this system". What do I need to do?

PowerShell's execution policy prevents you from running the client's installation script. You can temporarily lift the restrictions for the current PowerShell session by running the following command:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process

For further information, please refer to the PowerShell documentation About Execution Policies.