Comments (5)
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:
default sass-bundle build (debug enabled):
from demo.
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.
I tried again, and when I choose to run:
- $ symfony serve
- it works perfectly
- $ 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.
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)
- Flash message translations HOT 1
- No route found Error HOT 2
- Switch from Encore to AssetMapper HOT 11
- Cannot update to latest v6.3.2 version
- Add switch language in homepage HOT 1
- Should we do 303 redirects upon form submit? HOT 3
- Use DTOs to map requests (using MapRequestPayload & MapQueryString) HOT 10
- Translation editor for XLIFF HOT 3
- Question: Doctrine columns order HOT 1
- Invisible flash messages (no "fade in" animation) ?
- Symfony 7 Demo and Migration Questions HOT 2
- Remove unnecessary SQL queries HOT 1
- Don't use Twig CodeExtension helpers outside of a profiler panel HOT 2
- bug(ux): LiveProp not initialized while using the search form HOT 1
- Pass Request to EntityValueResolver's expression
- Doctrine\DBAL\Connection::setNestTransactionsWithSavepoints is deprecated and will be removed in 5.0 HOT 2
- Error: Symfony\Polyfill\Intl\Icu\Locale::setDefault() Not Implemented HOT 3
- deprecation log message HOT 1
- saas:build fails on `--no-dev`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demo.