Open nicofilizzola opened 3 years ago
Also, I know for a fact that the problem has something to do with pages/postMedia.js. I commented the whole code in the file and the problem disappeared. However, there's no syntax error as it compiles without any problems
Someone should probably get this checked. I rechecked a couple of hours later without changing anything and the problem magically disappeared. I'm confused
It seems that in your postMedia.js
file on line 101
you have a problem.
It's not related to webpack-encore
I got my app.js and a pages/postMedia.js which are both imported in my twig file.
None of my postMedia.js functions are working and I get this message on the console:
My webpack config file: (Basically the default config with the pages/postMedia.js entrypoint)
Sidenote: I tested the app yesterday and it worked perfectly, and today I'm having this problem after having changed absolutely nothing.