Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Step 50: Running "browserify:test_specs_for_browserify_modules" (browserify) task #26

Open
ojlamb opened this issue Dec 5, 2017 · 3 comments

Comments

@ojlamb
Copy link

ojlamb commented Dec 5, 2017

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

@ojlamb ojlamb changed the title Step 50: Running "browserify:test_specs_for_browserify_modules" (browserify) task Error on Step 50: Running "browserify:test_specs_for_browserify_modules" (browserify) task Dec 5, 2017
@haymanyu
Copy link

haymanyu commented Dec 5, 2017

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.

@ojlamb
Copy link
Author

ojlamb commented Dec 5, 2017

This change, in addition to #24 lead to a successful install. Thank you @yuhuman for the help!

@alexwcc
Copy link

alexwcc commented Feb 28, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants