Closed slibby closed 8 years ago
Windows is working in koop-sample app: https://github.com/koopjs/koop-sample-app
Sorry, closed all koop-server issues as this repo is deprecated. We moved the logic into the main koop
module. Should work a lot better now. As @slibby says, please check out https://github.com/koopjs/koop-sample-app for an updated example.
git clone koop cd koop npm install
currently does not work on Windows, or at least on my flavor of Windows (8.1 x64). This issue will track various efforts to figure out why and how to fix it :8ball:
fixes: bunyan from /koop:
npm install bunyan
Issues encountered with node modules:
c:\Esri\Github\koop2\koop\node_modules\koop-server\node_modules\mapnik>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modik --configuration=Release --module_name=mapnik --version=1.4.10 --major=1 --minor=4 --patch=10 --runtime=node --node_abi=node-v11 --platform=win32 -- --module_main=./lib/mapnik.js --host=https://node-mapnik.s3-us-west-1.amazonaws.com/ --module_path=c:\Esri\Github\koop2\koop\node_modules\koop-server4.10/ --package_name=mapnik-v1.4.10-node-v11-win32-x64.tar.gz --staged_tarball=build\stage\v1.4.10\mapnik-v1.4.10-node-v11-win32-x64.tar.gz --hosted_p/v1.4.10/ --hosted_tarball=https://node-mapnik.s3-us-west-1.amazonaws.com/v1.4.10/mapnik-v1.4.10-node-v11-win32-x64.tar.gz 'mapnik-config' is not recognized as an internal or external command, operable program or batch file. gyp: Call to 'mapnik-config --libs' returned exit status 1. while trying to load binding.gyp
npm install pg
fails with error'pg_config' is not recognized as an internal or external command, operable program or batch file. gyp: Call to 'pg_config --includedir' returned exit status 1. while trying to load binding.gyp
to fix pg issue:_tips and fixes so far_
cmd
as Administrator during installsnpm install contextify --msvs_version=2012