Skip to content

Commit

Permalink
Update reconciler.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Mar 19, 2024
1 parent 5fa7b2a commit 72c6367
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/reconciler.ts
Expand Up @@ -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'
Expand Down

0 comments on commit 72c6367

Please sign in to comment.