Open RCCsurge opened 6 years ago
It's likely that CartoDB released an unstable version of Windshaft to their master branch. I am currently building successfully with version 5.0.0.
Instead of 'git checkout master &&\' use 'git checkout 5.0.0 &&\'.
Alex,
Thank you for the reply. Looking forward to work with CartoDB.
Regards,
Sergio Elahi
From: alexcmrcrk notifications@github.com Sent: Sunday, February 18, 2018 12:21:46 PM To: chriswhong/docker-cartodb Cc: Siraj Elahi; Author Subject: Re: [chriswhong/docker-cartodb] Step 28/59 - The command '/bin/sh -c git clone git://github.com/CartoDB/Windshaft-cartodb.git &&cd Windshaft-cartodb &&git checkout master &&npm install' returned a non-zero code: 254 (#27)
It's likely that CartoDB released an unstable version of Windshaft to their master branch. I am currently building successfully with version 5.0.0.
Instead of 'git checkout master &&' use 'git checkout 5.0.0 &&'.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/chriswhong/docker-cartodb/issues/27#issuecomment-366535781, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AX52FKiFsjC-avmvFCcvPAUATbigm74eks5tWGo6gaJpZM4R0sBu.
@alexcmrcrk did you actually get a working carto installation once you deployed it? I've been able to build the docker container with couple of different versions of windshaft, but I'm getting 502 bad gateway errors on any calls to the /v2/ endpoing (which the nginx config looks to point to Windshaft on port 8080 internally.
Hi,
I had a successful install in a VM but today when I rebuild I get the error below.
Error: The command '/bin/sh -c git clone git://github.com/CartoDB/Windshaft-cartodb.git &&cd Windshaft-cartodb &&git checkout master &&npm install' returned a non-zero code: 254
This takes place after Step 28/59. (See further below.)
I appreciate any help. Thanks.
Regards,
Surge
Step 28/59 : RUN git clone git://github.com/CartoDB/Windshaft-cartodb.git &&cd Windshaft-cartodb &&git checkout master &&npm install ---> Running in 9a928a01d4c7 Cloning into 'Windshaft-cartodb'... Already on 'master' npm WARN deprecated queue-async@1.0.7: renamed to d3-queue npm WARN deprecated sphericalmercator@1.0.4: This module is now under the @mapbox namespace: install @mapbox/sphericalmercator instead npm WARN deprecated tilelive@5.12.2: This module has moved: please install @mapbox/tilelive instead npm WARN deprecated protozero@1.5.1: protozero should no longer be used via npm, install instead via https://github.com/mapbox/mason npm WARN deprecated husl@6.0.6: Project renamed to HSLuv npm WARN lifecycle windshaft-cartodb@5.1.1~preinstall: cannot run in wd %s %s (wd=%s) windshaft-cartodb@5.1.1 make pre-install /Windshaft-cartodb npm WARN lifecycle windshaft@4.3.1~preinstall: cannot run in wd %s %s (wd=%s) windshaft@4.3.1 make pre-install /Windshaft-cartodb/node_modules/.staging/windshaft-0701a8a6 windshaft-cartodb@5.1.1 /Windshaft-cartodb +-- body-parser@1.18.2 | +-- bytes@3.0.0 | +-- content-type@1.0.4 | +-- debug@2.6.9 | +-- depd@1.1.2 | +-- http-errors@1.6.2 | | +-- depd@1.1.1 | | +-- setprototypeof@1.0.3 | |
-- statuses@1.4.0 | +-- iconv-lite@0.4.19 | +-- on-finished@2.3.0 | |
-- ee-first@1.1.1 | +-- qs@6.5.1 | +-- raw-body@2.3.2 | |-- unpipe@1.0.0 |
-- type-is@1.6.15 |-- media-typer@0.3.0 +-- camshaft@0.60.0 | +-- async@1.5.2 |
-- bunyan@1.8.1 | +-- dtrace-provider@0.6.0 | +-- mv@2.1.1 | | +-- ncp@2.0.0 | |-- rimraf@2.4.5 | |
-- glob@6.0.4 |-- safe-json-stringify@1.0.4 +-- cartodb-psql@0.10.2 |
-- pg@6.1.6 (git://github.com/cartodb/node-postgres.git#3eef52dd1e655f658a4ee8ac5697688b3ecfed44) | +-- buffer-writer@1.0.1 | +-- js-string-escape@1.0.1 | +-- packet-reader@0.2.0 | +-- pg-connection-string@0.1.3 | +-- pg-pool@1.8.0 | | +-- generic-pool@2.4.3 | |-- object-assign@4.1.0 | +-- pg-types@1.13.0 | | +-- pg-int8@1.0.1 | | +-- postgres-array@1.0.2 | | +-- postgres-bytea@1.0.0 | | +-- postgres-date@1.0.3 | |
-- postgres-interval@1.1.1 | |-- xtend@4.0.1 | +-- pgpass@1.0.2 | |
-- split@1.0.1 | |-- through@2.3.8 |
-- semver@4.3.2 +-- cartodb-query-tables@0.3.0 +-- cartodb-redis@0.14.0 +-- debug@3.1.0 |-- ms@2.0.0 +-- dot@1.0.3 +-- express@4.16.2 | +-- accepts@1.3.4 | |
-- negotiator@0.6.1 | +-- array-flatten@1.1.1 | +-- content-disposition@0.5.2 | +-- cookie@0.3.1 | +-- cookie-signature@1.0.6 | +-- debug@2.6.9 | +-- encodeurl@1.0.2 | +-- escape-html@1.0.3 | +-- etag@1.8.1 | +-- finalhandler@1.1.0 | | +-- debug@2.6.9 | |-- statuses@1.3.1 | +-- fresh@0.5.2 | +-- merge-descriptors@1.0.1 | +-- methods@1.1.2 | +-- parseurl@1.3.2 | +-- path-to-regexp@0.1.7 | +-- proxy-addr@2.0.2 | | +-- forwarded@0.1.2 | |
-- ipaddr.js@1.5.2 | +-- range-parser@1.2.0 | +-- safe-buffer@5.1.1 | +-- send@0.16.1 | | +-- debug@2.6.9 | | +-- destroy@1.0.4 | | +-- mime@1.4.1 | |-- statuses@1.3.1 | +-- serve-static@1.13.1 | +-- setprototypeof@1.1.0 | +-- statuses@1.3.1 | +-- utils-merge@1.0.1 |
-- vary@1.1.2 +-- fastly-purge@1.0.1 +-- glob@7.1.2 | +-- fs.realpath@1.0.0 | +-- inflight@1.0.6 | |-- wrappy@1.0.2 | +-- inherits@2.0.3 | +-- minimatch@3.0.4 | |
-- brace-expansion@1.1.8 | | +-- balanced-match@1.0.0 | |-- concat-map@0.0.1 | +-- once@1.4.0 |
-- path-is-absolute@1.0.1 +-- istanbul@0.4.5 | +-- abbrev@1.0.9 | +-- escodegen@1.8.1 | | +-- esprima@2.7.3 | | +-- estraverse@1.9.3 | | +-- esutils@2.0.2 | | +-- optionator@0.8.2 | | | +-- deep-is@0.1.3 | | | +-- fast-levenshtein@2.0.6 | | | +-- levn@0.3.0 | | | +-- prelude-ls@1.1.2 | | | +-- type-check@0.3.2 | | |-- wordwrap@1.0.0 | |
-- source-map@0.2.0 | |-- amdefine@1.0.1 | +-- esprima@2.7.3 | +-- glob@5.0.15 | +-- handlebars@4.0.11 | | +-- optimist@0.6.1 | | |
-- wordwrap@0.0.3 | | +-- source-map@0.4.4 | |-- uglify-js@2.8.29 | | +-- uglify-to-browserify@1.0.2 | |
-- yargs@3.10.0 | | +-- camelcase@1.2.1 | | +-- cliui@2.1.0 | | | +-- center-align@0.1.3 | | | | +-- align-text@0.1.4 | | | | | +-- kind-of@3.2.2 | | | | | |-- is-buffer@1.1.6 | | | | | +-- longest@1.0.1 | | | | |
-- repeat-string@1.6.1 | | | |-- lazy-cache@1.0.4 | | | +-- right-align@0.1.3 | | |
-- wordwrap@0.0.2 | |-- window-size@0.1.0 | +-- js-yaml@3.10.0 | | +-- argparse@1.0.9 | | |
-- sprintf-js@1.0.3 | |-- esprima@4.0.0 | +-- mkdirp@0.5.1 | |
-- minimist@0.0.8 | +-- nopt@3.0.6 | +-- resolve@1.1.7 | +-- supports-color@3.2.3 | |-- has-flag@1.0.0 | +-- which@1.3.0 | |
-- isexe@2.0.0 |-- wordwrap@1.0.0 +-- jshint@2.9.5 | +-- cli@1.0.1 | +-- console-browserify@1.1.0 | |
-- date-now@0.1.4 | +-- exit@0.1.2 | +-- htmlparser2@3.8.3 | | +-- domelementtype@1.3.0 | | +-- domhandler@2.3.0 | | +-- domutils@1.5.1 | | |-- dom-serializer@0.1.0 | | | +-- domelementtype@1.1.3 | | |
-- entities@1.1.1 | | +-- entities@1.0.0 | |-- readable-stream@1.1.14 | +-- lodash@3.7.0 | +-- shelljs@0.3.0 |
-- strip-json-comments@1.0.4 +-- log4js@0.6.25 (git://github.com/cartodb/log4js-node.git#145d5f91e35e7fb14a6278cbf7a711ced6603727) | +-- async@0.2.10 | +-- readable-stream@1.0.34 | | +-- core-util-is@1.0.2 | | +-- isarray@0.0.1 | |-- string_decoder@0.10.31 | +-- semver@4.3.6 |
-- underscore@1.8.2 +-- lru-cache@2.6.5 +-- lzma@2.3.2 +-- mocha@3.4.2 | +-- browser-stdout@1.3.0 | +-- commander@2.9.0 | |-- graceful-readlink@1.0.1 | +-- debug@2.6.0 | |
-- ms@0.7.2 | +-- diff@3.2.0 | +-- escape-string-regexp@1.0.5 | +-- glob@7.1.1 | +-- growl@1.9.2 | +-- json3@3.3.2 | +-- lodash.create@3.1.1 | | +-- lodash._baseassign@3.2.0 | | | +-- lodash._basecopy@3.0.1 | | |-- lodash.keys@3.1.2 | | | +-- lodash._getnative@3.9.1 | | | +-- lodash.isarguments@3.1.0 | | |
-- lodash.isarray@3.0.4 | | +-- lodash._basecreate@3.0.3 | |-- lodash._isiterateecall@3.0.9 |
-- supports-color@3.1.2 +-- moment@2.18.1 +-- nock@2.11.0 | +-- chai@3.5.0 | | +-- assertion-error@1.1.0 | | +-- deep-eql@0.1.3 | | |-- type-detect@0.1.1 | |
-- type-detect@1.0.0 | +-- debug@1.0.5 | +-- deep-equal@1.0.1 | +-- lodash@2.4.1 |-- propagate@0.3.1 +-- node-statsd@0.0.7 +-- on-headers@1.0.1 +-- queue-async@1.0.7 +-- redis@0.12.1 +-- redis-mpool@0.4.1 | +-- generic-pool@2.1.1 |
-- hiredis@0.5.0 | +-- bindings@1.3.0 |-- nan@2.8.0 +-- request@2.83.0 | +-- aws-sign2@0.7.0 | +-- aws4@1.6.0 | +-- caseless@0.12.0 | +-- combined-stream@1.0.5 | |
-- delayed-stream@1.0.0 | +-- extend@3.0.1 | +-- forever-agent@0.6.1 | +-- form-data@2.3.1 | |-- asynckit@0.4.0 | +-- har-validator@5.0.3 | | +-- ajv@5.5.2 | | | +-- co@4.6.0 | | | +-- fast-deep-equal@1.0.0 | | | +-- fast-json-stable-stringify@2.0.0 | | |
-- json-schema-traverse@0.3.1 | |-- har-schema@2.0.0 | +-- hawk@6.0.2 | | +-- boom@4.3.1 | | +-- cryptiles@3.1.2 | | |
-- boom@5.2.0 | | +-- hoek@4.2.0 | |-- sntp@2.1.0 | +-- http-signature@1.2.0 | | +-- assert-plus@1.0.0 | | +-- jsprim@1.4.1 | | | +-- extsprintf@1.3.0 | | | +-- json-schema@0.2.3 | | |
-- verror@1.10.0 | |-- sshpk@1.13.1 | | +-- asn1@0.2.3 | | +-- bcrypt-pbkdf@1.0.1 | | +-- dashdash@1.14.1 | | +-- ecc-jsbn@0.1.1 | | +-- getpass@0.1.7 | | +-- jsbn@0.1.1 | |
-- tweetnacl@0.14.5 | +-- is-typedarray@1.0.0 | +-- isstream@0.1.2 | +-- json-stringify-safe@5.0.1 | +-- mime-types@2.1.17 | |-- mime-db@1.30.0 | +-- oauth-sign@0.8.2 | +-- performance-now@2.1.0 | +-- stringstream@0.0.5 | +-- tough-cookie@2.3.3 | |
-- punycode@1.4.1 | +-- tunnel-agent@0.6.0 |-- uuid@3.2.1 +-- semver@5.3.0 +-- step@0.0.6 +-- step-profiler@0.3.0 |
-- debug@2.6.9 +-- strftime@0.8.4 +-- turbo-carto@0.20.2 | +-- cartocolor@4.0.0 | +-- colorbrewer@1.0.0 | +-- es6-promise@3.1.2 | +-- postcss@5.0.19 | | +-- js-base64@2.4.3 | |-- source-map@0.5.7 |
-- postcss-value-parser@3.3.0 +-- underscore@1.6.0-- yargs@5.0.0 +-- cliui@3.2.0 | +-- strip-ansi@3.0.1 | |
-- ansi-regex@2.1.1 |-- wrap-ansi@2.1.0 +-- decamelize@1.2.0 +-- get-caller-file@1.0.2 +-- lodash.assign@4.2.0 +-- os-locale@1.4.0 |
-- lcid@1.0.0 |-- invert-kv@1.0.0 +-- read-pkg-up@1.0.1 | +-- find-up@1.1.2 | | +-- path-exists@2.1.0 | |
-- pinkie-promise@2.0.1 | |-- pinkie@2.0.4 |
-- read-pkg@1.1.0 | +-- load-json-file@1.1.0 | | +-- graceful-fs@4.1.11 | | +-- parse-json@2.2.0 | | |-- error-ex@1.3.1 | | |
-- is-arrayish@0.2.1 | | +-- pify@2.3.0 | |-- strip-bom@2.0.0 | |
-- is-utf8@0.2.1 | +-- normalize-package-data@2.4.0 | | +-- hosted-git-info@2.5.0 | | +-- is-builtin-module@1.0.0 | | |-- builtin-modules@1.1.1 | |
-- validate-npm-package-license@3.0.1 | | +-- spdx-correct@1.0.2 | | |-- spdx-license-ids@1.2.2 | |
-- spdx-expression-parse@1.0.4 |-- path-type@1.1.0 +-- require-directory@2.1.1 +-- require-main-filename@1.0.1 +-- set-blocking@2.0.0 +-- string-width@1.0.2 | +-- code-point-at@1.1.0 |
-- is-fullwidth-code-point@1.0.0 |-- number-is-nan@1.0.1 +-- which-module@1.0.0 +-- window-size@0.2.0 +-- y18n@3.2.1
-- yargs-parser@3.2.0 `-- camelcase@3.0.0npm ERR! Linux 4.10.0-28-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! path /Windshaft-cartodb/node_modules/.staging/abbrev-f8736d52 npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/Windshaft-cartodb/node_modules/.staging/abbrev-f8736d52' -> '/Windshaft-cartodb/node_modules/@carto/mapnik/node_modules/abbrev' npm ERR! enoent ENOENT: no such file or directory, rename '/Windshaft-cartodb/node_modules/.staging/abbrev-f8736d52' -> '/Windshaft-cartodb/node_modules/@carto/mapnik/node_modules/abbrev' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent
npm ERR! Please include the following file with any support request: npm ERR! /Windshaft-cartodb/npm-debug.log The command '/bin/sh -c git clone git://github.com/CartoDB/Windshaft-cartodb.git &&cd Windshaft-cartodb &&git checkout master &&npm install' returned a non-zero code: 254