On Stack Overflow I came to a solution through a chat room what is linked in the comments.
Related question: Unable to resolve module some-name
from Path/To/Project/script.js
I read: What to do with questions that were already solved?
And it is not clear to do for me what to do with my question.
Do I need to sort out the process of the chat and post that as a answer?