sverhoeven / docker-cartodb

Dockerized CartoDB
BSD 3-Clause "New" or "Revised" License
148 stars 116 forks source link

Failing at Step 26/49 : RUN git clone git://github.com/CartoDB/Windshaft-cartodb.git #72

Closed christophekey closed 5 years ago

christophekey commented 5 years ago

AWS Docker on Ubuntu 18.04. Clean install. then docker build -t=sverhoeven/cartodb docker-cartodb/

At fail:

The command '/bin/sh -c git clone git://github.com/CartoDB/Windshaft-cartodb.git &&     cd Windshaft-cartodb &&
     git checkout $WINDSHAFT_VERSION &&     npm install -g yarn@0.27.5 &&     yarn install &&     rm -r /tmp/npm-* /root/.npm &&     mkdir logs' returned a non-zero code: 1
Cloning into 'Windshaft-cartodb'...
Already on 'master'
Your branch is up to date with 'origin/master'.
npm WARN deprecated yarn@0.27.5: It is recommended to install Yarn using the native installation method for your environment. See https://yarnpkg.com/en/docs/install
/usr/bin/yarnpkg -> /usr/lib/node_modules/yarn/bin/yarn.js
/usr/bin/yarn -> /usr/lib/node_modules/yarn/bin/yarn.js
/usr/lib

truncated yarn list, followed by:

yarn install v0.27.5
info No lockfile found.
$ make pre-install
[1/4] Resolving packages...
warning istanbul@0.4.5: This module is no longer maintained, try this instead:
  npm i nyc
Visit https://istanbul.js.org/integrations for other alternatives.
warning windshaft > sphericalmercator@1.0.5: This module is now under the @mapbox namespace: install @mapbox/sphericalmercator instead
warning queue-async@1.1.0: renamed to d3-queue
warning windshaft > tilelive@5.12.3: This module has moved: please install @mapbox/tilelive instead
warning windshaft > tilelive > sphericalmercator@1.0.5: This module is now under the @mapbox namespace: install @mapbox/sphericalmercator instead
warning windshaft > tilelive > queue-async@1.0.7: renamed to d3-queue
warning camshaft > request > hawk > boom@4.3.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning camshaft > request > hawk > cryptiles@3.1.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning camshaft > request > hawk > cryptiles > boom@5.2.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning camshaft > request > hawk > hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning windshaft > grainstore > carto > husl@6.0.6: Project renamed to HSLuv
warning windshaft > tilelive > progress-stream > through2 > xtend > object-keys@0.4.0:
[2/4] Fetching packages...
warning Pattern ["carto@github:cartodb/carto#master"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v1/npm-carto-0.15.1-cdb5-85881d99dd7fcf2c4e16478b04db67108d27a50c" as pattern ["carto@github:cartodb/carto#0.15.1-cdb5"]. This could result in a non deterministic behavior, skipping.
error camshaft@0.64.0: The engine "node" is incompatible with this module. Expected version "^10.15.1".
error Found incompatible module

my googlefu has failed me - any suggestions or assistance recieved with thanks.

ms-webdev commented 5 years ago

Hi, have a look to the official Install-Guide

you need node 10.x and npm 6+- link

sverhoeven commented 5 years ago

Some breaking changes last month, https://github.com/CartoDB/cartodb/blob/master/NEWS.md#4260-2019-03-11, cause the build to fail.

I upgraded to node 10 in https://github.com/sverhoeven/docker-cartodb/tree/node-10 branch, but still need to build and testit. Can you give it a try

christophekey commented 5 years ago

Giving it a try now - thank you Stefan.

christophekey commented 5 years ago

Stefan, I can confirm the changes on branch node-10 work. I have been through and given most functionality a work through.

sverhoeven commented 5 years ago

Image on Docker hub has been rebuild.