Windows support

Currently, Buster does not work fully on Windows. This page contains known issues, the status of various modules, and a todo list. If you're a Windows developer that would like to use Buster, your help is very much appreciated.

Running tests on Windows

To fix most of these problems, you will need to run buster's tests. Because of some these problems, you cannot use the buster test CLI tool at this point. Instead, simply run individual test files with the node binary, i.e., node test/posix-argv-parser-test.js.

Known issues

Binary dependencies

Buster depends on a few modules that have binary extension dependencies. These do not build on Windows (and never will), thus we need to find a way around them. To my knowledge there are two main problems: Faye 0.7 (which depends on redis, which needs to be compiled) and jsdom, which depends on Contextify. Contextify is possible to set up for Windows with pre-built binaries, but not with NPM.

The Faye issue is being solved in August's rewrite of buster-capture-server, which depends on Faye 0.8, which does not have the redis dependency.

The jsdom issue is still unsolved. jsdom is an optional dependency for Buster, so we really should be able to install on Windows even if we can't get jsdom. Help is appreciated.

Failing tests

Some modules have failing tests on Windows. You can help by setting up the development environment, and run the tests for either of these projects, and fix the failing ones.

In many cases, tests fail because of inappropriate string concatenation when dealing with paths (see the next section).

Inappropriate path concatenation

Buster uses string concatenation to build paths in many places. This causes paths with forward slashes on Windows, which does not work. To find and fix these, running the tests should mostly help. If you find somewhere that uses string concatenation where path.join() should have been used and this is not caught by the tests, please help by adding tests and fixing the problem.