serve-dirs Serve static files with Node JS. Compiling In order to compile serve-dirs you will need: node npm Recommended Node version is 4.4.x, with an NPM version to match. Run npm install and npm run typedefs to install dependencies.