I am following a Full Stack Development Course by freeCodeCamp right here. When I run the command npm start
to start React App, the result in browser show me like below
enter image description here
When I back with my code I can see that it gives me a following error:
enter image description here
I have search over the Internet for the solution, and the solution I came up with is that my project is missing a file called getOptions.js
in a directory called node-modules/loader-util/lib
as well as missing a reference to getOptions
in node-modules/loader-utils/lib/index.js
. Another solution I have come up with is that my loader-utils
package need to be updated to a latest version, which I have updated it, but the error still happen. So, I think the solution depends on the getOptions.js
file that my project is missing. My question is why my project is missing that file and how can I get it?
Appreciate for all of your supports. Thank you!