Quickstart
Start building scalable high-performance microservice architectures today! Below is instruction on how to install the library.
Installation
To install please follow the below instructions using your preferred package manager:
NPM
npm install risen-js --save
Yarn
yarn add risen-js
To see a working example of Risen.JS please visit the tutorial section.
Troubleshooting installation
If you have trouble installing risen-js
, you may not have installed node-gyp
which is required for this framework. Please follow this checklist:
Make sure you're using Node.JS v10.20.1 or later
Make sure you have
node-gyp
globally installed, including all of its dependencies. On Windows you may need to configure some things manually.If you're using Windows, follow these steps. Do them in this order, and don't skip steps.
- Install the latest of node 10 or node 12.
- Start an Admin PowerShell: Right-click the start icon, then pick
Windows PowerShell (Admin)
- Install both vs2015 and vs2017 libraries. Each line will take ~5-10 minutes.
npm install --global --production --vs2015 --add-python-to-path windows-build-tools npm install --global --production --add-python-to-path windows-build-tools node-gyp
- In your project, make sure you're not fighting with old build configurations. Delete both
- your
%USERPROFILE%/.node-gyp
and - your project's
node_modules
directories.
- your
- Set up
%USERPROFILE%/.npmrc
correctly:
(wheremsvs_version=2015 python=python2.7
%USERPROFILE%
is your home directory). - Run
yarn install
ornpm install
If none of these solved your problem, try browsing previous issues or open a new issue.