Closed stormannsgalskap closed 3 years ago
Which type of template is it? production?
It could be that the Resources/app/storefront/build/proxy-server-hot/index.js
is now wrong. Can you check that file is unchanged to 6.4.0.0 release?
Production.
As much as i cann tell, these changes has been made from 6.3.5 to 6.4
Is it in your codebase changed to the git version? In the older version that file has been patched by this setup there
i just compared the code. In truth the content is not the same. But why?
I did updated Shopware from the backend. Are there other steps to be done? Should i update shopware with composer maybe?
For 6.4.0.0 it should run into these if conditions: https://github.com/shyim/shopware-docker/blob/master/modules/platform-local/storefront-watch.sh#L12-L16
That happens when this file contains this line: https://github.com/shopware/platform/blob/trunk/src/Storefront/Resources/app/storefront/webpack.config.js#L61
For some reason, it doesn't run at your installation there. Is very strange 🙈. Could you check that file?
Hy,
The storefront-watch from shopware-docker are the same.
The differences in the webpack file are like u see in the Image below. Not relevant...
So..
i tried to debug the storefront-watch script, and i found following: I looks like there a Slash missing. After i added the slash, the script downloaded a new Docker Image, and now the storefront watch is running under the url http://storefront-sw6.dev.localhost/ at port 80. But the CORS error is still present.
Does this help in any way?
Yes it helps. The cors error are introduced from the core
ok.. CORS could be tricked around. I am intrested more on fixing the missing js files. Please let me know, how i could help. Maybe an other hint, what to search for?
Hy, first of all thanks for this tool.
I updated the Shopware version to 6.4. Since than i started to get this error. After starting swdc storefront-watch compiles everything and runs under the correct url / port.
swdc storefront-watch <directory>
The Shop content loads but it looks like it has no styles nor js. This is the Browser log.Since it was a new Shopware version, i pulled the repository again, ran the update-images, but the error persists.
git pull
swdc update-images
When i try building to init the storefront
swdc storefront-init <directory>
it says that python has to be installed (very long error message) at command node-gyp rebuildHavy any idea why it's failing? I guess the python failing has something to do with the error. Thanks!