docker-cartodb
docker-cartodb copied to clipboard
Error on Step 50: Running "browserify:test_specs_for_browserify_modules" (browserify) task
I'm running into an issue during installation. Any ideas how to get around this one?
>> Error: Cannot find module '../../../../../../vendor/assets/javascripts/carto-node/carto-node' from '/cartodb/lib/assets/test/spec/cartodb/common'
Warning: Error running grunt-browserify. Use --force to continue.
Aborted due to warnings.
The command '/bin/sh -c cd cartodb && export PATH=$PATH:$PWD/node_modules/grunt-cli/bin && bundle install && /bin/bash -l -c 'bundle exec grunt' && rm -rf .git /root/.cache/pip node_modules' returned a non-zero code: 6
Any help is appreciated.
Thanks, Owen
Hi, I tried using previous version of CartoDB.
Edit Dockerfile:
Change
#Carto Editor
RUN git clone --recursive https://github.com/CartoDB/cartodb.git &&\
cd cartodb &&\
wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py &&\
python /tmp/get-pip.py
to
#Carto Editor
RUN git clone --recursive https://github.com/CartoDB/cartodb.git &&\
cd cartodb &&\
git checkout v4.10.70 &&\
wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py &&\
python /tmp/get-pip.py
And change
#carto postgres extension
RUN git clone https://github.com/CartoDB/cartodb-postgresql.git &&\
cd cartodb-postgresql &&\
PGUSER=postgres make install
to
#carto postgres extension
RUN git clone https://github.com/CartoDB/cartodb-postgresql.git &&\
cd cartodb-postgresql &&\
git checkout 0.19.2 &&\
PGUSER=postgres make install
Hope it works for you.
This change, in addition to #24 lead to a successful install. Thank you @yuhuman for the help!
Hi all,
Are your widgets working in the builder? If so could you please share your dockerfile and configure.yml file that you used for the build?