From 72c636779bbf00629525bf62ab20feedf7d7f352 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 19 Mar 2024 15:23:34 +0700 Subject: [PATCH] Update reconciler.ts --- src/reconciler.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/reconciler.ts b/src/reconciler.ts index ef07f9a6..d22b8060 100644 --- a/src/reconciler.ts +++ b/src/reconciler.ts @@ -29,8 +29,10 @@ if (process.env['DEV'] === 'true') { if (error.code === 'ERR_MODULE_NOT_FOUND') { console.warn( ` -The environment variable DEV = true so ink tried to import \`react-devtools-core\` but this -failed as it was not installed. Debugging with React Devtools requires it. To install use this command: +The environment variable DEV is set to true, so Ink tried to import \`react-devtools-core\`, +but this failed as it was not installed. Debugging with React Devtools requires it. + +To install use this command: $ npm install --save-dev react-devtools-core `.trim() + '\n'