Comments (2)
Hello @yotoman455,
Your issue comes from the fact that your first command (symfony new app --webapp
) initializes a project in which the AssetMapper
component is used to manage JS/CSS files.
This approach does not require any bundler such as the one provided by Webpack Encore, nor the use of node/npm.
So, basically:
- if you are fine with using the AssetMapper component (which is now the recommend way of handling assets) you should only call the
symfony new
command - if you really want to use Webpack Encore you will have to remove the AssetMapper component and add the Stimulus Bundle manually to your project to get the missing dependencies
from webpack-encore.
@Lyrkan thank you Lyrkan. Let me try to remove AssetMapper and install Stimulus manually
from webpack-encore.
Related Issues (20)
- how to add plugins HOT 1
- HMR not working with custom domain HOT 1
- How can I transpileDependencies when using webpack encore
- Debugging hanging CSSMinimizerPlugin
- Allow to pass options to babel react preset
- Twig file changes are not working with "watch" or "dev-server" HOT 1
- Getting an error for assets compilation with webpack-encore.
- ReferenceError: __VUE_PROD_DEVTOOLS__ is not defined HOT 2
- Disabling notifications on windows breaks --watch flag HOT 1
- Warning on sass-loader 14 HOT 1
- Svelte loader Module not found
- Two different builds for two versions of Vue.js app HOT 3
- Warning for postcss-loader v8.1.0 to be too new HOT 3
- PrettyError not supported anymore results in an error HOT 3
- Fully support less-loader ^12 HOT 1
- Enhance assets versionning HOT 12
- Support eslint 9 HOT 1
- Disable dev-server reload for PHP files?
- Integrity hashes do not work if contenthash is a query string
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 webpack-encore.