shopware / shopware

Shopware 6 is an open commerce platform based on Symfony Framework and Vue and supported by a worldwide community and more than 1.500 community extensions
https://shopware.com
MIT License
2.75k stars 1k forks source link

watch storefront doesn't work correctly #3657

Open Heddy147 opened 5 months ago

Heddy147 commented 5 months ago

PHP Version

8.2

Shopware Version

6.6.1.0

Expected behaviour

Actual behaviour

If I use dev environment no custom plugins can be loaded. Browser tries to load the JS files but gets a 404 code. In prod environment all plugins are loaded correctly.

How to reproduce

Fresh installation with a fresh created test plugin with command bin/console plugin:create. Call bin/watch-storefront.sh.

It does not matter whether locally, with devenv or via dockware. They all have the same problem.

shopware-issue-bot[bot] commented 5 months ago

We found the following existing issues which may help or are related to your topic:

arv-asommer commented 5 months ago

Same problem here... Works when just building but it seems the proxy server doesn't serve the compiled .js file correctly

shyim commented 5 months ago

can you test this? https://github.com/shopware/recipes/commit/cd9c6cda708c38d8af0df62c886d08f1805ec2a7

nicoanders commented 5 months ago

@shyim thx - did the trick!