Path must be a string. Received undefined

When I create React App, I counter an error(image below). I use npm (v6.4), node (v8.9).

enter image description here

Can someone guide me?

Upvotes: 1

Views: 5503

Answers (1)

Machalvan
Machalvan

Reputation: 71

Try using a higher version of node.

npm install -g [email protected]
npm install -g [email protected]

Also make sure that nvm path is added to your system variables. Take a look at this: https://github.com/zkat/npx/issues/144

Upvotes: 1

Related Questions