I'm using:
Windows 10
npm -v 5.8.0
npx -v 9.7.1
When running npx
, I'm getting: "The "path" argument must be of type string"
.
I am trying to create a React app. Get this error:
λ npx create-react-app myapp
npx: installed 1 in 4.576s
The "path" argument must be of type string
C:\Users\MyUser\AppData\Roaming\npm\node_modules\create-react-app\index.js
C:\Users\MyUser\AppData\Roaming\npm\node_modules\create-react-app\package.json: Unexpected string in JSON at position 52