Very big 'node' noob here. Just trying to get the lay of the land. I've installed node and the npm package manager based the excellent instructions found here. I can verify I have everything (node-wise) installed okay - with a user variable set to PATH =C:\Users\Dude\AppData\Roaming\npm
Using npm I installed
npm install -g query-overpass
npm install -g geojsonio
And verified that both had .cmd files and stuff show up here:
C:\Users\Dude\AppData\Roaming\npm
then from the cmd I put in the example
echo '[out:json];node(57.7,11.9,57.8,12.0)[amenity=bar];out;' | query-overpass
and got
{ message: 'Request failed: HTTP 400', statusCode: 400 }
Is there something I am missing here regarding installing node modules and how to run them (in Windows)? Is a .js file calling the modules what is required?