I ran into this problem when am following this video tutorial until here: https://youtu.be/nGoSP3MBV2E?list=PLIZkq64ad9C4POK0E1fhCaxlxTXwr7wSh&t=5413. After i restart my computer the next day, the crash happen. I don’t know what cause it since I have followed some tutorial on how to fix my problem and see no result:
Problem when
Here’s the source code of the failed code:
Header.js
header
layout.js:
layout
Source code Github:
I have tried fixing any typo in the program, went as far as re-doing the whole tutorial from begin but whenever I exit my project, the problem emerge again.
2
Answers
Simply replacing "@" with ".." fix this problem for me
Is it possible that you have moved your Header component to a different folder? Make sure that it exists in the directory in the import statement.
Try this if you are on Windows.