Answer the question
In order to leave comments, you need to log in
Module not found: Error: Can't resolve './Table'?
Good afternoon, I was setting up webpack using this tutorial
. And I encountered the following error . I
rechecked the code, I could not find the error. I cloned the lesson code from the git, ran it on my computer, but the same error occurs when I try to connect the component to App.js via import. The path to the component is 200% correct. What could be the problem?
Answer the question
In order to leave comments, you need to log in
Because webpack is configured to read .js files and you have jsx.
Write in the webpack config:test: /\.(js|jsx)$/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question