Module not found: Error: Can't resolve './named-references'
If you make a React app using webpack, you can encounter the error above.
This happens when you include only 'tsx' or 'jsx' in 'extensions' array in the configuration file.
resolve: {
extensions: ['.tsx'],
},
There are files in 'node_modules' which need 'js' extension. So, if you include it like this,
resolve: {
extensions: ['.tsx', '.js'],
},
the error will be solved.