Git Product home page Git Product logo

Comments (5)

davidhoelzel avatar davidhoelzel commented on June 7, 2024

Seems like there is some syntax error in a "content.js" in your code.

But the sourcemaps error is apparent upon every fresh installation of the demo.

Sources get loaded, but sourcemaps are not.
This is a little bit annoying as there are dozens attempted to be loaded (from the vendor folder in project-root) and slow down local performance. As the sass-bundle always creates the compiled css with flag "--embed-source-map" when debug is enabled, there is no way to get rid of these errors but disabling debug.
But then you will run into another issue: the sourcemap is nevertheless embedded with "app.output.css.map", which can also not be found and results in another 404. But at least you can still use your scss without dozens of sourcemap errors.

scss compiled with debug disabled:
grafik

default sass-bundle build (debug enabled):
grafik

from demo.

javiereguiluz avatar javiereguiluz commented on June 7, 2024

We don't have any content.js asset in this project, right? If this is correct, maybe this comes from some browser extension?

from demo.

Hodzinek avatar Hodzinek commented on June 7, 2024

I tried again, and when I choose to run:

  1. $ symfony serve
  • it works perfectly
  1. $ php -S localhost:8002 -t public/
  • the symfony demo does not work - the problem with assets as described
    Just to clarify the issues...

from demo.

UtechtDustin avatar UtechtDustin commented on June 7, 2024

I can reproduce it with php -S localhost:8000 -t public, but works fine with php -S localhost:8000 public/index.php.
I'm not an expert for the build in php server (I'm using the symfony cli for dev), but i guess we have to pass the index.php as "router" script ?

But should the demo still "supports" the build in php server, as it was removed from the symfony documentation since 3.4 (symfony/symfony-docs#11567) ?

from demo.

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.