Useful or not, from you.
react-native ERR_INVALID_ARG_TYPE(name, 'string', value); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined at validateString (internal/validators.js:125:11) at Object.join (path.js:1147:7)

I just run

$ react-native init AwesomeProject

Package are installed but I have an error

info Setting up new React Native app in /Users/xx/Sites/AwesomeProject
info Adding required dependencies
internal/validators.js:125
    throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:125:11)
    at Object.join (path.js:1147:7)
    at isProjectUsingYarn (/Users/xx/Sites/AwesomeProject/node_modules/@react-native-community/cli/build/tools/yarn.js:101:51)
    at shouldUseYarn (/Users/xx/Sites/AwesomeProject/node_modules/@react-native-community/cli/build/tools/PackageManager.js:36:39)
    at Object.install (/Users/xx/Sites/AwesomeProject/node_modules/@react-native-community/cli/build/tools/PackageManager.js:44:10)
    at generateProject (/Users/xx/Sites/AwesomeProject/node_modules/@react-native-community/cli/build/commands/init/init.js:111:18)
    at Object.init (/Users/xx/Sites/AwesomeProject/node_modules/@react-native-community/cli/build/commands/init/init.js:94:3)
    at run (/Users/xx/.config/yarn/global/node_modules/react-native-cli/index.js:302:7)
    at createProject (/Users/xx/.config/yarn/global/node_modules/react-native-cli/index.js:249:3)
    at init (/Users/xx/.config/yarn/global/node_modules/react-native-cli/index.js:200:5)
That's a useful answer
Without any help

C'est un duplicata de #24103.