> npx --version
npx: installed 1 in 11.516s
The "path" argument must be of type string. Received type undefined
9.7.1
> npm i -g npx
+ npx@10.2.0
updated 1 package in 70.955s
> npx --version
npx: installed 1 in 9.741s
The "path" argument must be of type string. Received type undefined
9.7.1
See also zkat/npx#144 (comment).