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

Building caravel from master throws error in javascript console #980

Closed
shkr opened this issue Aug 18, 2016 · 3 comments · Fixed by #990
Closed

Building caravel from master throws error in javascript console #980

shkr opened this issue Aug 18, 2016 · 3 comments · Fixed by #990

Comments

@shkr
Copy link
Contributor

shkr commented Aug 18, 2016

dashboard.entry.js:71 Uncaught Error: Cannot find module "react-map-gl"

@xrmx
Copy link
Contributor

xrmx commented Aug 18, 2016

What command is "building"? :)

@shkr
Copy link
Contributor Author

shkr commented Aug 18, 2016

Oops. I meant after building. This is the sequence of commands.

pushd caravel/assets
npm install
popd
python setup.py sdist
pip install dist/caravel-0.10.0.tar.gz
caravel runserver -d

When I visit the dashboard localhost:8100/caravel/dashboard/4/ on caravel, this error is thrown in the javascript console.

dashboard.entry.js:71 Uncaught Error: Cannot find module "react-map-gl"

@mistercrunch
Copy link
Member

You forgot npm run prod after npm install

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

Successfully merging a pull request may close this issue.

3 participants