TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received type undefined raised when starting react app

I’m working on a project in React and ran into a problem that has me stumped.

Whenever I run yarn start I get this error:

TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type
string. Received type undefined

I have no idea why this is happening, if anyone has experienced this I would be grateful.

26 Answers
26

Leave a Comment