diff --git a/packages/create-react-app/createReactApp.js b/packages/create-react-app/createReactApp.js index 6a2bb06b76e..b3c7ca7c1d6 100755 --- a/packages/create-react-app/createReactApp.js +++ b/packages/create-react-app/createReactApp.js @@ -209,22 +209,15 @@ function init() { console.error( chalk.yellow( `You are running \`create-react-app\` ${packageJson.version}, which is behind the latest release (${latest}).\n\n` + - 'We no longer support global installation of Create React App.' + 'We recommend always using the latest version of create-react-app if possible.' ) ); console.log(); - console.log( - 'Please remove any global installs with one of the following commands:\n' + - '- npm uninstall -g create-react-app\n' + - '- yarn global remove create-react-app' - ); - console.log(); console.log( 'The latest instructions for creating a new app can be found here:\n' + 'https://create-react-app.dev/docs/getting-started/' ); console.log(); - process.exit(1); } else { const useYarn = isUsingYarn(); createApp(