For windows, you should run install.ps1 to install the dependencies by running the install.js with powershell
For linux will will have to manually put in the .so API file from the sharppoint API site, and then make the linux shim
npm install npm run build-js