Giter VIP home page Giter VIP logo

Comments (8)

gbrian avatar gbrian commented on May 5, 2024 2

Hi,
Have you tried running npm install and npm run dev on assests folder ?

from superset.

mistercrunch avatar mistercrunch commented on May 5, 2024

Did you follow the instructions here?
https://github.com/airbnb/caravel/blob/master/CONTRIBUTING.md

from superset.

bertomartin avatar bertomartin commented on May 5, 2024

Yes, I ran both. It's really strange as the file it's complaining about exist in the directory as expected. The link is hardcoded in the codebase to: '/static/assets/javascripts/dist/css-theme.entry.js'. This file does exist in the given location.

from superset.

bertomartin avatar bertomartin commented on May 5, 2024

I went to the file: basic.html, deleted it's content, and re-run the application. It still worked, which is unexpected. So, there's something that I'm missing. Modifying any file has no effect. This is probably just something fundamental to flask that I'm missing. Any help appreciated.

from superset.

bertomartin avatar bertomartin commented on May 5, 2024

I installed the caravel package as well as forked the code. I wanna run the forked code. However, according to the documentation, to run the code you do: caravel runserver -d. This doesn't seem to be running the source code. I'm not very familiar with flask, so some enlightenment would help here.

from superset.

mistercrunch avatar mistercrunch commented on May 5, 2024

Looks like you're running multiple installs
pip uninstall caravel
python setup.py develop

from superset.

bertomartin avatar bertomartin commented on May 5, 2024

@mistercrunch thank you. I ended up running it from the build directory, but good to know this.

from superset.

ivdelchev avatar ivdelchev commented on May 5, 2024

I actually have the same problem and not running multiple installs for sure. The javascripts/dist/ files are there after running

npm run dev 

in the assets folder and yet the response back for anything in the assets/dist/ is a 404.
@bertomartin How did you run from the build directory?

from superset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.