You should use the Go version here: warmap-go
Creates wonderful maps from Kismet gpsxml files.
Install from npm:
$ npm install -g warmap
Alternatively, you can clone the repository, install the required modules using npm, and run as index.js:
$ git clone https://github.com/tomsteele/warmap.git
$ npm install
$ ./index.js
$ warmap <file.gpsxml> <bssids>