Skip to content

Building caravel from master throws error in javascript console #980

Closed

Description

@shkr

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

Activity

  1. xrmx commented on Aug 18, 2016

    @xrmx
    Contributor

    What command is "building"? :)

  2. shkr commented on Aug 18, 2016

    @shkr
    ContributorAuthor

    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"
    
  3. mistercrunch commented on Aug 19, 2016

    @mistercrunch
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions