K
K
kikosko2018-06-13 21:46:58
JavaScript
kikosko, 2018-06-13 21:46:58

Why is the module not working correctly?

I need help connecting modules in webpack, there is a "Game" class in which, I connect the "Team" class to implement the battle between the created teams, the "Game" module does not see the "Team" module, as a result I see such an error (photo 1) , I attach a photo of the original module (photo 2-3) a photo of the Team module (4-5 photos), a photo of the Game module (6 photos)
Here is my whole code
1: 5b21650ab46f3714658099.jpeg
2: 5b21652599de5228584582.jpeg
3: 5b21656c9dbe6124619038.jpeg
4: 5b2165788aea3080462196.jpeg
5: 5b2165841324c110358861.jpeg
6:5b21667c84c56753316155.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2018-06-14
@kikosko

They forgot in the battle
this function before the team.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question