Create-react-app: ./src/App.js Module not found: Can't resolve './Facebook' in '/src'

Created on 19 Jul 2019  路  6Comments  路  Source: facebook/create-react-app

Failed to compile
Module not found error

Screenshot from 2019-07-20 01-34-45

Screenshot from 2019-07-20 01-33-42

bug

All 6 comments

Based on the screenshot, the file name is Faceboook.js and you are trying to import Facebook.js. May be that could the reason.

I was trying to import by changing the name of the file from 'Facebook' to 'Faceboook'. Still, it is giving the same error.

This is intersting @princek64. I tried to reproduce it but its

working for me :)

May be if you can share the code, it might help with further debugging!

@pratyushj I have shared the code with you!

@princek64 I have updated your repo with the fix. Can close this issue now.

@pratyushj Thank you. It's working now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

barcher picture barcher  路  3Comments

Evan-GK picture Evan-GK  路  3Comments

DaveLindberg picture DaveLindberg  路  3Comments

alleroux picture alleroux  路  3Comments

fson picture fson  路  3Comments