mozilla / addons-frontend

Front-end to complement mozilla/addons-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`yarn amo` no longer works - no styles/JS

kumar303 opened this issue · comments

Describe the problem and steps to reproduce it:

  • Go into addons-server and start up the container with docker-compose up -d
  • Go back to addons-frontend and run yarn amo to develop with a local Docker image. This is documented as the preferred way to start a server yet no one uses it in practice.

What happened?

The server starts but no styles or JS loads so the app is not usable.

What did you expect to happen?

The site should be usable.

Anything else we should know?

I think the culprit might be related to how the addons-server Docker container boots its own frontend instance on the same port as what addons-frontend uses. There is an additional problem where the addons-frontend startup script does not report a failure about how it cannot bind to the port.

We could move that to the docker-compose.selenium.yml file. That config is mainly used for testing anyways.

That sounds like it would solve it

addons-server now actually defaults to the new frontend by default so it's used for development kinda as well. Happy to change configs though to resolve any conflicts we may have.

commented

This issue has been automatically marked as stale because it has not had recent activity. If you think this bug should stay open, please comment on the issue with further details. Thank you for your contributions.