X.path = require("path") somewhere in node-xt. I was just being lazy in not bothering to update the jshint globals.