Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WebPack release builds #27

Closed
minecrawler opened this issue Nov 5, 2020 · 0 comments
Closed

Fix WebPack release builds #27

minecrawler opened this issue Nov 5, 2020 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@minecrawler
Copy link
Collaborator

When building the release version of Pong, it fails at runtime with

Uncaught (in promise) Error: Component  was already registered!
    registerComponent http://localhost:63342/sim-ecs/examples/pong/public/bundle.js:16
    withComponent http://localhost:63342/sim-ecs/examples/pong/public/bundle.js:31
    <anonymous> http://localhost:63342/sim-ecs/examples/pong/public/bundle.js:16
    <anonymous> http://localhost:63342/sim-ecs/examples/pong/public/bundle.js:16
    n http://localhost:63342/sim-ecs/examples/pong/public/bundle.js:1
    <anonymous> http://localhost:63342/sim-ecs/examples/pong/public/bundle.js:16
    n http://localhost:63342/sim-ecs/examples/pong/public/bundle.js:1
    <anonymous> http://localhost:63342/sim-ecs/examples/pong/public/bundle.js:1
    <anonymous> http://localhost:63342/sim-ecs/examples/pong/public/bundle.js:1
bundle.js:16:24187

This needs further analysis, however it should be possible to build release-versions using sim-ecs, so we need urgent fixing here.

@minecrawler minecrawler added the bug Something isn't working label Nov 5, 2020
@minecrawler minecrawler added this to the 1.0 milestone Nov 5, 2020
@minecrawler minecrawler added the help wanted Extra attention is needed label Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant